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 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
7 | 7 |
8 #include "chrome/browser/extensions/extension_system.h" | 8 #include "extensions/browser/extension_system.h" |
| 9 #include "extensions/common/one_shot_event.h" |
9 | 10 |
10 class CommandLine; | 11 class CommandLine; |
| 12 class Profile; |
11 class TestingValueStore; | 13 class TestingValueStore; |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 class FilePath; | 16 class FilePath; |
15 class Time; | 17 class Time; |
16 } | 18 } |
17 | 19 |
18 namespace content { | 20 namespace content { |
19 class BrowserContext; | 21 class BrowserContext; |
20 } | 22 } |
21 | 23 |
22 namespace extensions { | 24 namespace extensions { |
23 class ExtensionPrefs; | 25 class ExtensionPrefs; |
24 class RuntimeData; | 26 class RuntimeData; |
| 27 class StandardManagementPolicyProvider; |
25 | 28 |
26 // Test ExtensionSystem, for use with TestingProfile. | 29 // Test ExtensionSystem, for use with TestingProfile. |
27 class TestExtensionSystem : public ExtensionSystem { | 30 class TestExtensionSystem : public ExtensionSystem { |
28 public: | 31 public: |
29 explicit TestExtensionSystem(Profile* profile); | 32 explicit TestExtensionSystem(Profile* profile); |
30 virtual ~TestExtensionSystem(); | 33 virtual ~TestExtensionSystem(); |
31 | 34 |
32 // BrowserContextKeyedService implementation. | 35 // BrowserContextKeyedService implementation. |
33 virtual void Shutdown() OVERRIDE; | 36 virtual void Shutdown() OVERRIDE; |
34 | 37 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_ptr<ProcessManager> process_manager_; | 100 scoped_ptr<ProcessManager> process_manager_; |
98 scoped_refptr<InfoMap> info_map_; | 101 scoped_refptr<InfoMap> info_map_; |
99 scoped_ptr<ErrorConsole> error_console_; | 102 scoped_ptr<ErrorConsole> error_console_; |
100 scoped_ptr<InstallVerifier> install_verifier_; | 103 scoped_ptr<InstallVerifier> install_verifier_; |
101 OneShotEvent ready_; | 104 OneShotEvent ready_; |
102 }; | 105 }; |
103 | 106 |
104 } // namespace extensions | 107 } // namespace extensions |
105 | 108 |
106 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 109 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |