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_EXTENSION_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/profiles/profile_keyed_service.h" | 13 #include "chrome/browser/profiles/profile_keyed_service.h" |
14 #include "chrome/common/extensions/extension_constants.h" | 14 #include "chrome/common/extensions/extension_constants.h" |
15 | 15 |
16 class ExtensionDevToolsManager; | 16 class ExtensionDevToolsManager; |
| 17 class ExtensionDownloadsEventRouter; |
17 class ExtensionEventRouter; | 18 class ExtensionEventRouter; |
18 class ExtensionInfoMap; | 19 class ExtensionInfoMap; |
19 class ExtensionMessageService; | 20 class ExtensionMessageService; |
20 class ExtensionNavigationObserver; | 21 class ExtensionNavigationObserver; |
21 class ExtensionPrefs; | 22 class ExtensionPrefs; |
22 class ExtensionProcessManager; | 23 class ExtensionProcessManager; |
23 class ExtensionService; | 24 class ExtensionService; |
24 class Profile; | 25 class Profile; |
25 class UserScriptMaster; | 26 class UserScriptMaster; |
26 | 27 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 Shared* shared_; | 184 Shared* shared_; |
184 | 185 |
185 // The services that have their own instances in incognito. | 186 // The services that have their own instances in incognito. |
186 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 187 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
187 // |extension_process_manager_| must be destroyed before the Profile's | 188 // |extension_process_manager_| must be destroyed before the Profile's |
188 // |io_data_|. While |extension_process_manager_| still lives, we handle | 189 // |io_data_|. While |extension_process_manager_| still lives, we handle |
189 // incoming resource requests from extension processes and those require | 190 // incoming resource requests from extension processes and those require |
190 // access to the ResourceContext owned by |io_data_|. | 191 // access to the ResourceContext owned by |io_data_|. |
191 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 192 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
192 scoped_ptr<extensions::AlarmManager> alarm_manager_; | 193 scoped_ptr<extensions::AlarmManager> alarm_manager_; |
| 194 scoped_ptr<ExtensionDownloadsEventRouter> downloads_event_router_; |
193 | 195 |
194 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 196 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
195 }; | 197 }; |
196 | 198 |
197 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 199 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
OLD | NEW |