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

Unified Diff: extensions/browser/extension_system.cc

Issue 137753016: ExtensionSystem cleanup part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deps 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
Index: extensions/browser/extension_system.cc
diff --git a/extensions/browser/extension_system.cc b/extensions/browser/extension_system.cc
index 2924a74f6a3621008a52ad3dc0c0b6e11e7fe0cc..105bbe56d3de8d724c1013ba1cc025d9c7117aff 100644
--- a/extensions/browser/extension_system.cc
+++ b/extensions/browser/extension_system.cc
@@ -4,7 +4,9 @@
#include "extensions/browser/extension_system.h"
-#include "chrome/browser/extensions/extension_system_factory.h"
+#include "components/browser_context_keyed_service/browser_context_keyed_service_factory.h"
+#include "extensions/browser/extension_system_provider.h"
+#include "extensions/browser/extensions_browser_client.h"
namespace extensions {
@@ -16,7 +18,9 @@ ExtensionSystem::~ExtensionSystem() {
// static
ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) {
- return ExtensionSystemFactory::GetForBrowserContext(context);
+ return static_cast<ExtensionSystem*>(ExtensionsBrowserClient::Get()
James Cook 2014/02/12 17:18:12 Does this need the static_cast?
Yoyo Zhou 2014/02/12 23:32:10 I guess not!
+ ->GetExtensionSystemFactory()
+ ->GetForBrowserContext(context));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698