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

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

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ProfileDependencyManager to create PlatformAppService Created 8 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_dependency_manager.cc
diff --git a/chrome/browser/profiles/profile_dependency_manager.cc b/chrome/browser/profiles/profile_dependency_manager.cc
index f5d32132bae264ee99babad63b768e8664835998..a95341877307a339b168eba694347f0831b252ae 100644
--- a/chrome/browser/profiles/profile_dependency_manager.cc
+++ b/chrome/browser/profiles/profile_dependency_manager.cc
@@ -19,6 +19,7 @@
#include "chrome/browser/extensions/app_restore_service_factory.h"
#include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory.h"
#include "chrome/browser/extensions/extension_system_factory.h"
+#include "chrome/browser/extensions/platform_app_service_factory.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/google/google_url_tracker_factory.h"
#include "chrome/browser/history/history_service_factory.h"
@@ -223,6 +224,7 @@ void ProfileDependencyManager::AssertFactoriesBuilt() {
extensions::CommandServiceFactory::GetInstance();
extensions::SuggestedLinksRegistryFactory::GetInstance();
extensions::ExtensionSystemFactory::GetInstance();
+ extensions::PlatformAppServiceFactory::GetInstance();
extensions::TabCaptureRegistryFactory::GetInstance();
#endif
FaviconServiceFactory::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698