OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/extension_system.h" | 5 #include "extensions/browser/extension_system.h" |
6 | 6 |
7 #include "chrome/browser/extensions/extension_system_factory.h" | 7 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" |
| 8 #include "extensions/browser/extension_system_provider.h" |
| 9 #include "extensions/browser/extensions_browser_client.h" |
8 | 10 |
9 namespace extensions { | 11 namespace extensions { |
10 | 12 |
11 ExtensionSystem::ExtensionSystem() { | 13 ExtensionSystem::ExtensionSystem() { |
12 } | 14 } |
13 | 15 |
14 ExtensionSystem::~ExtensionSystem() { | 16 ExtensionSystem::~ExtensionSystem() { |
15 } | 17 } |
16 | 18 |
17 // static | 19 // static |
18 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) { | 20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) { |
19 return ExtensionSystemFactory::GetForBrowserContext(context); | 21 return ExtensionsBrowserClient::Get() |
| 22 ->GetExtensionSystemFactory() |
| 23 ->GetForBrowserContext(context); |
20 } | 24 } |
21 | 25 |
22 } // namespace extensions | 26 } // namespace extensions |
OLD | NEW |