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

Unified Diff: chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc

Issue 2369673004: Wire NQE Prefs to Profile (Closed)
Patch Set: Addressed bengr comments 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/net/nqe/ui_network_quality_estimator_service_factory.cc
diff --git a/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc b/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
index d8b71e028eb7a9d586f752df20f35470d785486e..3431c84d3b13428a36cbaf0385dfa86ba79fd963 100644
--- a/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
+++ b/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
@@ -34,5 +34,6 @@ UINetworkQualityEstimatorServiceFactory::
KeyedService* UINetworkQualityEstimatorServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
- return new UINetworkQualityEstimatorService();
+ return new UINetworkQualityEstimatorService(
+ Profile::FromBrowserContext(context));
}

Powered by Google App Engine
This is Rietveld 408576698