| 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "extensions/browser/extension_system.h" | 9 #include "extensions/browser/extension_system.h" |
| 10 #include "extensions/common/one_shot_event.h" | 10 #include "extensions/common/one_shot_event.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 // KeyedService implementation. | 34 // KeyedService implementation. |
| 35 void Shutdown() override; | 35 void Shutdown() override; |
| 36 | 36 |
| 37 void InitForRegularProfile(bool extensions_enabled) override; | 37 void InitForRegularProfile(bool extensions_enabled) override; |
| 38 | 38 |
| 39 ExtensionService* extension_service() override; // shared | 39 ExtensionService* extension_service() override; // shared |
| 40 RuntimeData* runtime_data() override; // shared | 40 RuntimeData* runtime_data() override; // shared |
| 41 ManagementPolicy* management_policy() override; // shared | 41 ManagementPolicy* management_policy() override; // shared |
| 42 // shared | 42 // shared |
| 43 SharedUserScriptMaster* shared_user_script_master() override; | 43 SharedUserScriptMaster* shared_user_script_master() override; |
| 44 ProcessManager* process_manager() override; | |
| 45 StateStore* state_store() override; // shared | 44 StateStore* state_store() override; // shared |
| 46 StateStore* rules_store() override; // shared | 45 StateStore* rules_store() override; // shared |
| 47 LazyBackgroundTaskQueue* lazy_background_task_queue() override; // shared | 46 LazyBackgroundTaskQueue* lazy_background_task_queue() override; // shared |
| 48 InfoMap* info_map() override; // shared | 47 InfoMap* info_map() override; // shared |
| 49 EventRouter* event_router() override; // shared | 48 EventRouter* event_router() override; // shared |
| 50 WarningService* warning_service() override; | 49 WarningService* warning_service() override; |
| 51 Blacklist* blacklist() override; // shared | 50 Blacklist* blacklist() override; // shared |
| 52 ErrorConsole* error_console() override; | 51 ErrorConsole* error_console() override; |
| 53 InstallVerifier* install_verifier() override; | 52 InstallVerifier* install_verifier() override; |
| 54 QuotaService* quota_service() override; // shared | 53 QuotaService* quota_service() override; // shared |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 device_local_account_management_policy_provider_; | 148 device_local_account_management_policy_provider_; |
| 150 #endif | 149 #endif |
| 151 | 150 |
| 152 OneShotEvent ready_; | 151 OneShotEvent ready_; |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 Profile* profile_; | 154 Profile* profile_; |
| 156 | 155 |
| 157 Shared* shared_; | 156 Shared* shared_; |
| 158 | 157 |
| 159 // |process_manager_| must be destroyed before the Profile's |io_data_|. While | |
| 160 // |process_manager_| still lives, we handle incoming resource requests from | |
| 161 // extension processes and those require access to the ResourceContext owned | |
| 162 // by |io_data_|. | |
| 163 scoped_ptr<ProcessManager> process_manager_; | |
| 164 | |
| 165 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 158 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
| 166 }; | 159 }; |
| 167 | 160 |
| 168 } // namespace extensions | 161 } // namespace extensions |
| 169 | 162 |
| 170 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ | 163 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ |
| OLD | NEW |