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

Unified Diff: apps/shell/shell_extensions_browser_client.cc

Issue 131743021: app_shell: Extract extension runtime data from ExtensionService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ExtensionRegistry observer (runtime_data) Created 6 years, 11 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: apps/shell/shell_extensions_browser_client.cc
diff --git a/apps/shell/shell_extensions_browser_client.cc b/apps/shell/shell_extensions_browser_client.cc
index f745200e07c0b4f7f3a2cd0ce9c4d775378bff79..5fb17d5b2b38fe4015582e313ddd15e2e9182034 100644
--- a/apps/shell/shell_extensions_browser_client.cc
+++ b/apps/shell/shell_extensions_browser_client.cc
@@ -14,6 +14,7 @@
#include "components/user_prefs/pref_registry_syncable.h"
#include "components/user_prefs/user_prefs.h"
#include "extensions/browser/app_sorting.h"
+#include "extensions/browser/extension_registry_factory.h"
using content::BrowserContext;
@@ -127,6 +128,7 @@ std::vector<BrowserContextKeyedServiceFactory*>
ShellExtensionsBrowserClient::GetExtensionSystemDependencies() {
std::vector<BrowserContextKeyedServiceFactory*> depends_on;
depends_on.push_back(ExtensionPrefsFactory::GetInstance());
+ depends_on.push_back(ExtensionRegistryFactory::GetInstance());
return depends_on;
}

Powered by Google App Engine
This is Rietveld 408576698