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

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

Issue 2172393002: Cleaning up some code in UINQEService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « chrome/browser/net/nqe/ui_network_quality_estimator_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9e8c45d4742e737f39bcbe7814991996e80adba9..d8b71e028eb7a9d586f752df20f35470d785486e 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
@@ -27,13 +27,12 @@ UINetworkQualityEstimatorServiceFactory::
UINetworkQualityEstimatorServiceFactory()
: BrowserContextKeyedServiceFactory(
"UINetworkQualityEstimatorService",
BrowserContextDependencyManager::GetInstance()) {}
UINetworkQualityEstimatorServiceFactory::
~UINetworkQualityEstimatorServiceFactory() {}
KeyedService* UINetworkQualityEstimatorServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
- Profile* profile = Profile::FromBrowserContext(context);
- return new UINetworkQualityEstimatorService(profile);
+ return new UINetworkQualityEstimatorService();
}
« no previous file with comments | « chrome/browser/net/nqe/ui_network_quality_estimator_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698