Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: extensions/browser/extension_system.h

Issue 503033002: Move ExtensionWarningService and ExtensionsWarningSet to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_web_view_internal
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 14 matching lines...) Expand all
25 25
26 namespace extensions { 26 namespace extensions {
27 27
28 class Blacklist; 28 class Blacklist;
29 class ContentVerifier; 29 class ContentVerifier;
30 class DeclarativeUserScriptMaster; 30 class DeclarativeUserScriptMaster;
31 class ErrorConsole; 31 class ErrorConsole;
32 class EventRouter; 32 class EventRouter;
33 class Extension; 33 class Extension;
34 class ExtensionSet; 34 class ExtensionSet;
35 class ExtensionWarningService;
36 class InfoMap; 35 class InfoMap;
37 class InstallVerifier; 36 class InstallVerifier;
38 class LazyBackgroundTaskQueue; 37 class LazyBackgroundTaskQueue;
39 class ManagementPolicy; 38 class ManagementPolicy;
40 class OneShotEvent; 39 class OneShotEvent;
41 class ProcessManager; 40 class ProcessManager;
42 class QuotaService; 41 class QuotaService;
43 class RuntimeData; 42 class RuntimeData;
44 class SharedUserScriptMaster; 43 class SharedUserScriptMaster;
45 class StateStore; 44 class StateStore;
45 class WarningService;
46 46
47 // ExtensionSystem manages the lifetime of many of the services used by the 47 // ExtensionSystem manages the lifetime of many of the services used by the
48 // extensions and apps system, and it handles startup and shutdown as needed. 48 // extensions and apps system, and it handles startup and shutdown as needed.
49 // Eventually, we'd like to make more of these services into KeyedServices in 49 // Eventually, we'd like to make more of these services into KeyedServices in
50 // their own right. 50 // their own right.
51 class ExtensionSystem : public KeyedService { 51 class ExtensionSystem : public KeyedService {
52 public: 52 public:
53 ExtensionSystem(); 53 ExtensionSystem();
54 virtual ~ExtensionSystem(); 54 virtual ~ExtensionSystem();
55 55
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Returns the IO-thread-accessible extension data. 88 // Returns the IO-thread-accessible extension data.
89 virtual InfoMap* info_map() = 0; 89 virtual InfoMap* info_map() = 0;
90 90
91 // The LazyBackgroundTaskQueue is created at startup. 91 // The LazyBackgroundTaskQueue is created at startup.
92 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() = 0; 92 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() = 0;
93 93
94 // The EventRouter is created at startup. 94 // The EventRouter is created at startup.
95 virtual EventRouter* event_router() = 0; 95 virtual EventRouter* event_router() = 0;
96 96
97 // The ExtensionWarningService is created at startup. 97 // The WarningService is created at startup.
98 virtual ExtensionWarningService* warning_service() = 0; 98 virtual WarningService* warning_service() = 0;
99 99
100 // The blacklist is created at startup. 100 // The blacklist is created at startup.
101 virtual Blacklist* blacklist() = 0; 101 virtual Blacklist* blacklist() = 0;
102 102
103 // The ErrorConsole is created at startup. 103 // The ErrorConsole is created at startup.
104 virtual ErrorConsole* error_console() = 0; 104 virtual ErrorConsole* error_console() = 0;
105 105
106 // The InstallVerifier is created at startup. 106 // The InstallVerifier is created at startup.
107 virtual InstallVerifier* install_verifier() = 0; 107 virtual InstallVerifier* install_verifier() = 0;
108 108
(...skipping 30 matching lines...) Expand all
139 139
140 // Get the user script master for declarative scripts, if any. 140 // Get the user script master for declarative scripts, if any.
141 virtual DeclarativeUserScriptMaster* 141 virtual DeclarativeUserScriptMaster*
142 GetDeclarativeUserScriptMasterByExtension( 142 GetDeclarativeUserScriptMasterByExtension(
143 const ExtensionId& extension_id) = 0; 143 const ExtensionId& extension_id) = 0;
144 }; 144 };
145 145
146 } // namespace extensions 146 } // namespace extensions
147 147
148 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 148 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | extensions/browser/mock_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698