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

Unified Diff: apps/app_load_service_factory.cc

Issue 137753016: ExtensionSystem cleanup part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « apps/DEPS ('k') | apps/apps.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_load_service_factory.cc
diff --git a/apps/app_load_service_factory.cc b/apps/app_load_service_factory.cc
index 6c3b4599aef101c31174a8e80df7fdbed07d8c9c..60b0e9f489e9f11035303c323956e5f784b106ee 100644
--- a/apps/app_load_service_factory.cc
+++ b/apps/app_load_service_factory.cc
@@ -6,10 +6,10 @@
#include "apps/app_load_service.h"
#include "apps/shell_window_registry.h"
-#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
#include "extensions/browser/extension_prefs_factory.h"
+#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"
namespace apps {
@@ -28,8 +28,9 @@ AppLoadServiceFactory::AppLoadServiceFactory()
: BrowserContextKeyedServiceFactory(
"AppLoadService",
BrowserContextDependencyManager::GetInstance()) {
+ DependsOn(
+ extensions::ExtensionsBrowserClient::Get()->GetExtensionSystemFactory());
DependsOn(extensions::ExtensionPrefsFactory::GetInstance());
- DependsOn(extensions::ExtensionSystemFactory::GetInstance());
DependsOn(ShellWindowRegistry::Factory::GetInstance());
}
« no previous file with comments | « apps/DEPS ('k') | apps/apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698