Index: chrome/browser/net/predictor.cc |
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc |
index c1dc2d127114969c75a96a62f468d019149115fe..f99580daac396e33987fbf5199e6b3061beb34b4 100644 |
--- a/chrome/browser/net/predictor.cc |
+++ b/chrome/browser/net/predictor.cc |
@@ -33,6 +33,7 @@ |
#include "chrome/browser/io_thread.h" |
#include "chrome/browser/prefs/session_startup_pref.h" |
#include "chrome/browser/profiles/profile_io_data.h" |
+#include "chrome/common/chrome_features.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "components/pref_registry/pref_registry_syncable.h" |
@@ -59,9 +60,6 @@ namespace chrome_browser_net { |
namespace { |
-const base::Feature kNetworkPrediction{"NetworkPrediction", |
- base::FEATURE_ENABLED_BY_DEFAULT}; |
- |
#if defined(OS_ANDROID) |
// Disabled on Android, as there are no "pinned tabs", meaning that a startup |
// is unlikely to request the same URL, and hence to resolve the same domains |
@@ -171,7 +169,8 @@ Predictor::~Predictor() { |
// static |
Predictor* Predictor::CreatePredictor(bool simple_shutdown) { |
- bool predictor_enabled = base::FeatureList::IsEnabled(kNetworkPrediction); |
+ bool predictor_enabled = |
+ base::FeatureList::IsEnabled(features::kNetworkPrediction); |
if (simple_shutdown) |
return new SimplePredictor(predictor_enabled); |
return new Predictor(predictor_enabled); |