| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/extensions/extension_system_factory.h" | 5 #include "chrome/browser/extensions/extension_system_factory.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_prefs_factory.h" | |
| 8 #include "chrome/browser/extensions/extension_system.h" | 7 #include "chrome/browser/extensions/extension_system.h" |
| 9 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 8 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 10 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 12 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 11 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
| 12 #include "extensions/browser/extension_prefs_factory.h" |
| 13 #include "extensions/browser/extension_registry_factory.h" | 13 #include "extensions/browser/extension_registry_factory.h" |
| 14 #include "extensions/browser/extensions_browser_client.h" | 14 #include "extensions/browser/extensions_browser_client.h" |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 | 17 |
| 18 // ExtensionSystemSharedFactory | 18 // ExtensionSystemSharedFactory |
| 19 | 19 |
| 20 // static | 20 // static |
| 21 ExtensionSystemImpl::Shared* | 21 ExtensionSystemImpl::Shared* |
| 22 ExtensionSystemSharedFactory::GetForProfile(Profile* profile) { | 22 ExtensionSystemSharedFactory::GetForProfile(Profile* profile) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 content::BrowserContext* context) const { | 92 content::BrowserContext* context) const { |
| 93 // Separate instance in incognito. | 93 // Separate instance in incognito. |
| 94 return context; | 94 return context; |
| 95 } | 95 } |
| 96 | 96 |
| 97 bool ExtensionSystemFactory::ServiceIsCreatedWithBrowserContext() const { | 97 bool ExtensionSystemFactory::ServiceIsCreatedWithBrowserContext() const { |
| 98 return true; | 98 return true; |
| 99 } | 99 } |
| 100 | 100 |
| 101 } // namespace extensions | 101 } // namespace extensions |
| OLD | NEW |