Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2420)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 2369673004: Wire NQE Prefs to Profile (Closed)
Patch Set: ps Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8bb36096c0e0c00d37ffda4b013bb66bfb96566c..ee9eb5265dfa2d6c31a175d8628875546777623f 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"
@@ -214,6 +215,7 @@ void ProfileImplIOData::Handle::Init(
base::MakeUnique<previews::PreviewsUIService>(
io_data_->previews_io_data(),
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO), nullptr));
+ UINetworkQualityEstimatorServiceFactory::GetForProfile(profile_);
RyanSturm 2016/10/04 22:08:00 Comment about this initializes the Service
tbansal1 2016/10/11 20:49:26 Done.
}
content::ResourceContext*

Powered by Google App Engine
This is Rietveld 408576698