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

Unified Diff: chrome/browser/precache/precache_manager_factory.cc

Issue 2582133002: Add DependsOn() calls to PrecacheManagerFactory. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/precache/precache_manager_factory.cc
diff --git a/chrome/browser/precache/precache_manager_factory.cc b/chrome/browser/precache/precache_manager_factory.cc
index 9d8552e8603d964686e98afa251fe5ce1eed5a7f..c4d533fbb1ac49e1321d5a73f5834b327be1f0e6 100644
--- a/chrome/browser/precache/precache_manager_factory.cc
+++ b/chrome/browser/precache/precache_manager_factory.cc
@@ -37,6 +37,9 @@ PrecacheManagerFactory::PrecacheManagerFactory()
: BrowserContextKeyedServiceFactory(
"PrecacheManager",
BrowserContextDependencyManager::GetInstance()) {
+ DependsOn(ProfileSyncServiceFactory::GetInstance());
+ DependsOn(HistoryServiceFactory::GetInstance());
+ DependsOn(DataReductionProxyChromeSettingsFactory::GetInstance());
}
PrecacheManagerFactory::~PrecacheManagerFactory() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698