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 "extensions/browser/extension_system.h" | 8 #include "extensions/browser/extension_system.h" |
9 #include "extensions/common/one_shot_event.h" | 9 #include "extensions/common/one_shot_event.h" |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual ExtensionService* extension_service() OVERRIDE; | 62 virtual ExtensionService* extension_service() OVERRIDE; |
63 virtual RuntimeData* runtime_data() OVERRIDE; | 63 virtual RuntimeData* runtime_data() OVERRIDE; |
64 virtual ManagementPolicy* management_policy() OVERRIDE; | 64 virtual ManagementPolicy* management_policy() OVERRIDE; |
65 virtual UserScriptMaster* user_script_master() OVERRIDE; | 65 virtual UserScriptMaster* user_script_master() OVERRIDE; |
66 virtual ProcessManager* process_manager() OVERRIDE; | 66 virtual ProcessManager* process_manager() OVERRIDE; |
67 virtual StateStore* state_store() OVERRIDE; | 67 virtual StateStore* state_store() OVERRIDE; |
68 virtual StateStore* rules_store() OVERRIDE; | 68 virtual StateStore* rules_store() OVERRIDE; |
69 TestingValueStore* value_store() { return value_store_; } | 69 TestingValueStore* value_store() { return value_store_; } |
70 virtual InfoMap* info_map() OVERRIDE; | 70 virtual InfoMap* info_map() OVERRIDE; |
71 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; | 71 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; |
| 72 void SetEventRouter(scoped_ptr<EventRouter> event_router); |
72 virtual EventRouter* event_router() OVERRIDE; | 73 virtual EventRouter* event_router() OVERRIDE; |
73 virtual ExtensionWarningService* warning_service() OVERRIDE; | 74 virtual ExtensionWarningService* warning_service() OVERRIDE; |
74 virtual Blacklist* blacklist() OVERRIDE; | 75 virtual Blacklist* blacklist() OVERRIDE; |
75 virtual ErrorConsole* error_console() OVERRIDE; | 76 virtual ErrorConsole* error_console() OVERRIDE; |
76 virtual InstallVerifier* install_verifier() OVERRIDE; | 77 virtual InstallVerifier* install_verifier() OVERRIDE; |
77 virtual QuotaService* quota_service() OVERRIDE; | 78 virtual QuotaService* quota_service() OVERRIDE; |
78 virtual const OneShotEvent& ready() const OVERRIDE; | 79 virtual const OneShotEvent& ready() const OVERRIDE; |
79 | 80 |
80 void SetReady() { | 81 void SetReady() { |
81 LOG(INFO) << "SetReady()"; | 82 LOG(INFO) << "SetReady()"; |
(...skipping 11 matching lines...) Expand all Loading... |
93 // A pointer to the TestingValueStore owned by |state_store_|. | 94 // A pointer to the TestingValueStore owned by |state_store_|. |
94 TestingValueStore* value_store_; | 95 TestingValueStore* value_store_; |
95 scoped_ptr<Blacklist> blacklist_; | 96 scoped_ptr<Blacklist> blacklist_; |
96 scoped_ptr<StandardManagementPolicyProvider> | 97 scoped_ptr<StandardManagementPolicyProvider> |
97 standard_management_policy_provider_; | 98 standard_management_policy_provider_; |
98 scoped_ptr<ManagementPolicy> management_policy_; | 99 scoped_ptr<ManagementPolicy> management_policy_; |
99 scoped_ptr<RuntimeData> runtime_data_; | 100 scoped_ptr<RuntimeData> runtime_data_; |
100 scoped_ptr<ExtensionService> extension_service_; | 101 scoped_ptr<ExtensionService> extension_service_; |
101 scoped_ptr<ProcessManager> process_manager_; | 102 scoped_ptr<ProcessManager> process_manager_; |
102 scoped_refptr<InfoMap> info_map_; | 103 scoped_refptr<InfoMap> info_map_; |
| 104 scoped_ptr<EventRouter> event_router_; |
103 scoped_ptr<ErrorConsole> error_console_; | 105 scoped_ptr<ErrorConsole> error_console_; |
104 scoped_ptr<InstallVerifier> install_verifier_; | 106 scoped_ptr<InstallVerifier> install_verifier_; |
105 scoped_ptr<QuotaService> quota_service_; | 107 scoped_ptr<QuotaService> quota_service_; |
106 OneShotEvent ready_; | 108 OneShotEvent ready_; |
107 }; | 109 }; |
108 | 110 |
109 } // namespace extensions | 111 } // namespace extensions |
110 | 112 |
111 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ | 113 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ |
OLD | NEW |