| 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 #ifndef EXTENSIONS_BROWSER_MOCK_EXTENSIONS_SYSTEM_H_ | 5 #ifndef EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ |
| 6 #define EXTENSIONS_BROWSER_MOCK_EXTENSIONS_SYSTEM_H_ | 6 #define EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ |
| 7 | 7 |
| 8 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 8 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 9 #include "extensions/browser/extension_registry_factory.h" | 9 #include "extensions/browser/extension_registry_factory.h" |
| 10 #include "extensions/browser/extension_system.h" | 10 #include "extensions/browser/extension_system.h" |
| 11 #include "extensions/browser/extension_system_provider.h" | 11 #include "extensions/browser/extension_system_provider.h" |
| 12 #include "extensions/common/one_shot_event.h" | 12 #include "extensions/common/one_shot_event.h" |
| 13 | 13 |
| 14 namespace extensions { | 14 namespace extensions { |
| 15 | 15 |
| 16 // An empty ExtensionSystem for testing. Tests that need only specific | 16 // An empty ExtensionSystem for testing. Tests that need only specific |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 return static_cast<ExtensionSystem*>( | 85 return static_cast<ExtensionSystem*>( |
| 86 GetServiceForBrowserContext(context, true)); | 86 GetServiceForBrowserContext(context, true)); |
| 87 } | 87 } |
| 88 | 88 |
| 89 private: | 89 private: |
| 90 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory); | 90 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace extensions | 93 } // namespace extensions |
| 94 | 94 |
| 95 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSIONS_SYSTEM_H_ | 95 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ |
| OLD | NEW |