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

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

Issue 9959116: Add support for not compiling in chrome/browser/background. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 8 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 | « build/common.gypi ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_dependency_manager.cc
diff --git a/chrome/browser/profiles/profile_dependency_manager.cc b/chrome/browser/profiles/profile_dependency_manager.cc
index 97579174fdd39a02e0443bac40658b1add95c9ec..3565e0cd70472216155c72d4279a332c435712ac 100644
--- a/chrome/browser/profiles/profile_dependency_manager.cc
+++ b/chrome/browser/profiles/profile_dependency_manager.cc
@@ -166,7 +166,6 @@ void ProfileDependencyManager::AssertFactoriesBuilt() {
if (built_factories_)
return;
- BackgroundContentsServiceFactory::GetInstance();
CookieSettings::Factory::GetInstance();
DownloadServiceFactory::GetInstance();
FindBarStateFactory::GetInstance();
@@ -206,6 +205,9 @@ void ProfileDependencyManager::AssertFactoriesBuilt() {
#if defined(ENABLE_WEB_INTENTS)
WebIntentsRegistryFactory::GetInstance();
#endif
+#if defined(ENABLE_BACKGROUND)
+ BackgroundContentsServiceFactory::GetInstance();
+#endif // defined(ENABLE_BACKGROUND)
built_factories_ = true;
}
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698