Files.app: Dispatch 'drive-connection-changed' event on initialization of VolumeManag...
[chromium-blink-merge.git] / extensions / browser / extension_system.cc
blobfc2abc0a8f0eef1be6dfb1f9bab7cd2aba9e650a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/browser/extension_system.h"
7 #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
8 #include "extensions/browser/extension_system_provider.h"
9 #include "extensions/browser/extensions_browser_client.h"
11 namespace extensions {
13 ExtensionSystem::ExtensionSystem() {
16 ExtensionSystem::~ExtensionSystem() {
19 // static
20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) {
21 return ExtensionsBrowserClient::Get()
22 ->GetExtensionSystemFactory()
23 ->GetForBrowserContext(context);
26 } // namespace extensions