summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_system_provider.cc
diff options
context:
space:
mode:
authoryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-13 15:15:48 +0000
committeryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-13 15:15:48 +0000
commit70489306be95e9700051e6f9e1ee3cd91ecc71d3 (patch)
treec1fbae7bc7d6ecab253ee260d1601c774bf1e8f2 /extensions/browser/extension_system_provider.cc
parentb2593b3ca3d5dc74b5313c725233290e99920381 (diff)
downloadchromium_src-70489306be95e9700051e6f9e1ee3cd91ecc71d3.zip
chromium_src-70489306be95e9700051e6f9e1ee3cd91ecc71d3.tar.gz
chromium_src-70489306be95e9700051e6f9e1ee3cd91ecc71d3.tar.bz2
ExtensionSystem cleanup part 2
This change introduces separate ExtensionSystemFactories for app shell and for chrome; in particular, a new ShellExtensionSystemFactory. ExtensionsBrowserClient now selects between the two at the factory level. Callers can simply use ExtensionSystem::Get. BUG=337707 Review URL: https://codereview.chromium.org/137753016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/extension_system_provider.cc')
-rw-r--r--extensions/browser/extension_system_provider.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/extensions/browser/extension_system_provider.cc b/extensions/browser/extension_system_provider.cc
new file mode 100644
index 0000000..8016e9e
--- /dev/null
+++ b/extensions/browser/extension_system_provider.cc
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "extensions/browser/extension_system_provider.h"
+
+#include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
+
+namespace extensions {
+
+ExtensionSystemProvider::ExtensionSystemProvider(
+ const char* name,
+ BrowserContextDependencyManager* manager)
+ : BrowserContextKeyedServiceFactory(name, manager) {
+}
+
+ExtensionSystemProvider::~ExtensionSystemProvider() {}
+
+} // namespace extensions