Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index eec323ba5b365c3883eb68935de4732ebd923944..7f118857876e307508c5c895bfc97bd63387572f 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -29,6 +29,7 @@ |
#include "chrome/browser/io_thread.h" |
#include "chrome/browser/net/chrome_network_delegate.h" |
#include "chrome/browser/net/http_server_properties_manager_factory.h" |
+#include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h" |
#include "chrome/browser/net/predictor.h" |
#include "chrome/browser/net/quota_policy_channel_id_store.h" |
#include "chrome/browser/net/sdch_owner_pref_storage.h" |
@@ -212,6 +213,10 @@ void ProfileImplIOData::Handle::Init( |
PreviewsServiceFactory::GetForProfile(profile_)->Initialize( |
io_data_->previews_io_data_.get(), |
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO), profile_path); |
+ |
+ // Initialize the UI network quality estimator service so it can |
+ // read/write the prefs. |
+ UINetworkQualityEstimatorServiceFactory::GetForProfile(profile_); |
mmenke
2016/10/19 17:24:57
Should this be in ChromeBrowserMainExtraPartsProfi
tbansal1
2016/10/19 18:34:47
Done. I did not know about this.
|
} |
content::ResourceContext* |