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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 Shared* shared_; | 195 Shared* shared_; |
195 | 196 |
196 // The services that have their own instances in incognito. | 197 // The services that have their own instances in incognito. |
197 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 198 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
198 // |extension_process_manager_| must be destroyed before the Profile's | 199 // |extension_process_manager_| must be destroyed before the Profile's |
199 // |io_data_|. While |extension_process_manager_| still lives, we handle | 200 // |io_data_|. While |extension_process_manager_| still lives, we handle |
200 // incoming resource requests from extension processes and those require | 201 // incoming resource requests from extension processes and those require |
201 // access to the ResourceContext owned by |io_data_|. | 202 // access to the ResourceContext owned by |io_data_|. |
202 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 203 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
203 scoped_ptr<extensions::AlarmManager> alarm_manager_; | 204 scoped_ptr<extensions::AlarmManager> alarm_manager_; |
| 205 scoped_ptr<ExtensionDownloadsEventRouter> downloads_event_router_; |
204 | 206 |
205 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 207 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
206 }; | 208 }; |
207 | 209 |
208 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 210 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
OLD | NEW |