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 "base/memory/scoped_vector.h" |
8 #include "extensions/browser/extension_system.h" | 9 #include "extensions/browser/extension_system.h" |
9 #include "extensions/common/one_shot_event.h" | 10 #include "extensions/common/one_shot_event.h" |
10 | 11 |
11 class Profile; | 12 class Profile; |
12 class TestingValueStore; | 13 class TestingValueStore; |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class CommandLine; | 16 class CommandLine; |
16 class FilePath; | 17 class FilePath; |
17 class Time; | 18 class Time; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Factory method for tests to use with SetTestingProfile. | 94 // Factory method for tests to use with SetTestingProfile. |
94 static KeyedService* Build(content::BrowserContext* profile); | 95 static KeyedService* Build(content::BrowserContext* profile); |
95 | 96 |
96 protected: | 97 protected: |
97 Profile* profile_; | 98 Profile* profile_; |
98 | 99 |
99 private: | 100 private: |
100 scoped_ptr<StateStore> state_store_; | 101 scoped_ptr<StateStore> state_store_; |
101 // A pointer to the TestingValueStore owned by |state_store_|. | 102 // A pointer to the TestingValueStore owned by |state_store_|. |
102 TestingValueStore* value_store_; | 103 TestingValueStore* value_store_; |
| 104 ScopedVector<DeclarativeUserScriptMaster> declarative_user_script_masters_; |
103 scoped_ptr<Blacklist> blacklist_; | 105 scoped_ptr<Blacklist> blacklist_; |
104 scoped_ptr<StandardManagementPolicyProvider> | 106 scoped_ptr<StandardManagementPolicyProvider> |
105 standard_management_policy_provider_; | 107 standard_management_policy_provider_; |
106 scoped_ptr<ManagementPolicy> management_policy_; | 108 scoped_ptr<ManagementPolicy> management_policy_; |
107 scoped_ptr<RuntimeData> runtime_data_; | 109 scoped_ptr<RuntimeData> runtime_data_; |
108 scoped_ptr<ExtensionService> extension_service_; | 110 scoped_ptr<ExtensionService> extension_service_; |
109 scoped_ptr<ProcessManager> process_manager_; | 111 scoped_ptr<ProcessManager> process_manager_; |
110 scoped_refptr<InfoMap> info_map_; | 112 scoped_refptr<InfoMap> info_map_; |
111 scoped_ptr<EventRouter> event_router_; | 113 scoped_ptr<EventRouter> event_router_; |
112 scoped_ptr<ErrorConsole> error_console_; | 114 scoped_ptr<ErrorConsole> error_console_; |
113 scoped_ptr<InstallVerifier> install_verifier_; | 115 scoped_ptr<InstallVerifier> install_verifier_; |
114 scoped_ptr<QuotaService> quota_service_; | 116 scoped_ptr<QuotaService> quota_service_; |
115 OneShotEvent ready_; | 117 OneShotEvent ready_; |
116 }; | 118 }; |
117 | 119 |
118 } // namespace extensions | 120 } // namespace extensions |
119 | 121 |
120 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 122 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |