blob: d06c550f09e56ba6a9a6d698bf6ab3c5885a1139 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/navigation_predictor/navigation_predictor_features.h"
#include "build/build_config.h"
namespace features {
// A holdback that prevents the preconnect to measure benefit of the feature.
BASE_FEATURE(kNavigationPredictorPreconnectHoldback,
"NavigationPredictorPreconnectHoldback",
#if BUILDFLAG(IS_ANDROID)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
);
// Enables triggering of same-origin preconnects on same-document navigations.
BASE_FEATURE(kNavigationPredictorEnablePreconnectOnSameDocumentNavigations,
"NavigationPredictorEnablePreconnectOnSameDocumentNavigations",
base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace features