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 EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 class DeviceLocalAccountManagementPolicyProvider; | 22 class DeviceLocalAccountManagementPolicyProvider; |
23 } | 23 } |
24 #endif // defined(OS_CHROMEOS) | 24 #endif // defined(OS_CHROMEOS) |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class BrowserContext; | 27 class BrowserContext; |
28 } | 28 } |
29 | 29 |
30 namespace extensions { | 30 namespace extensions { |
31 | 31 |
32 class Blacklist; | |
33 class ContentVerifier; | 32 class ContentVerifier; |
34 class DeclarativeUserScriptMaster; | 33 class DeclarativeUserScriptMaster; |
35 class ErrorConsole; | 34 class ErrorConsole; |
36 class EventRouter; | 35 class EventRouter; |
37 class Extension; | 36 class Extension; |
38 class ExtensionSet; | 37 class ExtensionSet; |
39 class InfoMap; | 38 class InfoMap; |
40 class InstallVerifier; | 39 class InstallVerifier; |
41 class LazyBackgroundTaskQueue; | 40 class LazyBackgroundTaskQueue; |
42 class ManagementPolicy; | 41 class ManagementPolicy; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 // Returns the IO-thread-accessible extension data. | 86 // Returns the IO-thread-accessible extension data. |
88 virtual InfoMap* info_map() = 0; | 87 virtual InfoMap* info_map() = 0; |
89 | 88 |
90 // The LazyBackgroundTaskQueue is created at startup. | 89 // The LazyBackgroundTaskQueue is created at startup. |
91 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() = 0; | 90 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() = 0; |
92 | 91 |
93 // The EventRouter is created at startup. | 92 // The EventRouter is created at startup. |
94 virtual EventRouter* event_router() = 0; | 93 virtual EventRouter* event_router() = 0; |
95 | 94 |
96 // The blacklist is created at startup. | |
97 virtual Blacklist* blacklist() = 0; | |
98 | |
99 // The ErrorConsole is created at startup. | 95 // The ErrorConsole is created at startup. |
100 virtual ErrorConsole* error_console() = 0; | 96 virtual ErrorConsole* error_console() = 0; |
101 | 97 |
102 // The InstallVerifier is created at startup. | 98 // The InstallVerifier is created at startup. |
103 virtual InstallVerifier* install_verifier() = 0; | 99 virtual InstallVerifier* install_verifier() = 0; |
104 | 100 |
105 // Returns the QuotaService that limits calls to certain extension functions. | 101 // Returns the QuotaService that limits calls to certain extension functions. |
106 // Lives on the UI thread. Created at startup. | 102 // Lives on the UI thread. Created at startup. |
107 virtual QuotaService* quota_service() = 0; | 103 virtual QuotaService* quota_service() = 0; |
108 | 104 |
(...skipping 26 matching lines...) Expand all Loading... |
135 | 131 |
136 // Get the user script master for declarative scripts, if any. | 132 // Get the user script master for declarative scripts, if any. |
137 virtual DeclarativeUserScriptMaster* | 133 virtual DeclarativeUserScriptMaster* |
138 GetDeclarativeUserScriptMasterByExtension( | 134 GetDeclarativeUserScriptMasterByExtension( |
139 const ExtensionId& extension_id) = 0; | 135 const ExtensionId& extension_id) = 0; |
140 }; | 136 }; |
141 | 137 |
142 } // namespace extensions | 138 } // namespace extensions |
143 | 139 |
144 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 140 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ |
OLD | NEW |