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

Side by Side Diff: chrome/browser/extensions/extension_system_impl.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: Rename. 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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual ManagementPolicy* management_policy() OVERRIDE; // shared 42 virtual ManagementPolicy* management_policy() OVERRIDE; // shared
43 // shared 43 // shared
44 virtual SharedUserScriptMaster* shared_user_script_master() OVERRIDE; 44 virtual SharedUserScriptMaster* shared_user_script_master() OVERRIDE;
45 virtual ProcessManager* process_manager() OVERRIDE; 45 virtual ProcessManager* process_manager() OVERRIDE;
46 virtual StateStore* state_store() OVERRIDE; // shared 46 virtual StateStore* state_store() OVERRIDE; // shared
47 virtual StateStore* rules_store() OVERRIDE; // shared 47 virtual StateStore* rules_store() OVERRIDE; // shared
48 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() 48 virtual LazyBackgroundTaskQueue* lazy_background_task_queue()
49 OVERRIDE; // shared 49 OVERRIDE; // shared
50 virtual InfoMap* info_map() OVERRIDE; // shared 50 virtual InfoMap* info_map() OVERRIDE; // shared
51 virtual EventRouter* event_router() OVERRIDE; // shared 51 virtual EventRouter* event_router() OVERRIDE; // shared
52 virtual ExtensionWarningService* warning_service() OVERRIDE; 52 virtual WarningService* warning_service() OVERRIDE;
53 virtual Blacklist* blacklist() OVERRIDE; // shared 53 virtual Blacklist* blacklist() OVERRIDE; // shared
54 virtual ErrorConsole* error_console() OVERRIDE; 54 virtual ErrorConsole* error_console() OVERRIDE;
55 virtual InstallVerifier* install_verifier() OVERRIDE; 55 virtual InstallVerifier* install_verifier() OVERRIDE;
56 virtual QuotaService* quota_service() OVERRIDE; // shared 56 virtual QuotaService* quota_service() OVERRIDE; // shared
57 57
58 virtual void RegisterExtensionWithRequestContexts( 58 virtual void RegisterExtensionWithRequestContexts(
59 const Extension* extension) OVERRIDE; 59 const Extension* extension) OVERRIDE;
60 60
61 virtual void UnregisterExtensionWithRequestContexts( 61 virtual void UnregisterExtensionWithRequestContexts(
62 const std::string& extension_id, 62 const std::string& extension_id,
(...skipping 30 matching lines...) Expand all
93 StateStore* state_store(); 93 StateStore* state_store();
94 StateStore* rules_store(); 94 StateStore* rules_store();
95 ExtensionService* extension_service(); 95 ExtensionService* extension_service();
96 RuntimeData* runtime_data(); 96 RuntimeData* runtime_data();
97 ManagementPolicy* management_policy(); 97 ManagementPolicy* management_policy();
98 SharedUserScriptMaster* shared_user_script_master(); 98 SharedUserScriptMaster* shared_user_script_master();
99 Blacklist* blacklist(); 99 Blacklist* blacklist();
100 InfoMap* info_map(); 100 InfoMap* info_map();
101 LazyBackgroundTaskQueue* lazy_background_task_queue(); 101 LazyBackgroundTaskQueue* lazy_background_task_queue();
102 EventRouter* event_router(); 102 EventRouter* event_router();
103 ExtensionWarningService* warning_service(); 103 WarningService* warning_service();
104 ErrorConsole* error_console(); 104 ErrorConsole* error_console();
105 InstallVerifier* install_verifier(); 105 InstallVerifier* install_verifier();
106 QuotaService* quota_service(); 106 QuotaService* quota_service();
107 const OneShotEvent& ready() const { return ready_; } 107 const OneShotEvent& ready() const { return ready_; }
108 ContentVerifier* content_verifier(); 108 ContentVerifier* content_verifier();
109 109
110 DeclarativeUserScriptMaster* GetDeclarativeUserScriptMasterByExtension( 110 DeclarativeUserScriptMaster* GetDeclarativeUserScriptMasterByExtension(
111 const ExtensionId& extension_id); 111 const ExtensionId& extension_id);
112 112
113 private: 113 private:
(...skipping 20 matching lines...) Expand all
134 scoped_ptr<Blacklist> blacklist_; 134 scoped_ptr<Blacklist> blacklist_;
135 // StandardManagementPolicyProvider depends on Blacklist. 135 // StandardManagementPolicyProvider depends on Blacklist.
136 scoped_ptr<StandardManagementPolicyProvider> 136 scoped_ptr<StandardManagementPolicyProvider>
137 standard_management_policy_provider_; 137 standard_management_policy_provider_;
138 scoped_ptr<RuntimeData> runtime_data_; 138 scoped_ptr<RuntimeData> runtime_data_;
139 // ExtensionService depends on StateStore, Blacklist and RuntimeData. 139 // ExtensionService depends on StateStore, Blacklist and RuntimeData.
140 scoped_ptr<ExtensionService> extension_service_; 140 scoped_ptr<ExtensionService> extension_service_;
141 scoped_ptr<ManagementPolicy> management_policy_; 141 scoped_ptr<ManagementPolicy> management_policy_;
142 // extension_info_map_ needs to outlive process_manager_. 142 // extension_info_map_ needs to outlive process_manager_.
143 scoped_refptr<InfoMap> extension_info_map_; 143 scoped_refptr<InfoMap> extension_info_map_;
144 scoped_ptr<ExtensionWarningService> extension_warning_service_; 144 scoped_ptr<WarningService> extension_warning_service_;
145 scoped_ptr<ExtensionWarningBadgeService> extension_warning_badge_service_; 145 scoped_ptr<ExtensionWarningBadgeService> extension_warning_badge_service_;
146 scoped_ptr<ErrorConsole> error_console_; 146 scoped_ptr<ErrorConsole> error_console_;
147 scoped_ptr<InstallVerifier> install_verifier_; 147 scoped_ptr<InstallVerifier> install_verifier_;
148 scoped_ptr<QuotaService> quota_service_; 148 scoped_ptr<QuotaService> quota_service_;
149 149
150 // For verifying the contents of extensions read from disk. 150 // For verifying the contents of extensions read from disk.
151 scoped_refptr<ContentVerifier> content_verifier_; 151 scoped_refptr<ContentVerifier> content_verifier_;
152 152
153 #if defined(OS_CHROMEOS) 153 #if defined(OS_CHROMEOS)
154 scoped_ptr<chromeos::DeviceLocalAccountManagementPolicyProvider> 154 scoped_ptr<chromeos::DeviceLocalAccountManagementPolicyProvider>
(...skipping 12 matching lines...) Expand all
167 // extension processes and those require access to the ResourceContext owned 167 // extension processes and those require access to the ResourceContext owned
168 // by |io_data_|. 168 // by |io_data_|.
169 scoped_ptr<ProcessManager> process_manager_; 169 scoped_ptr<ProcessManager> process_manager_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 171 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
172 }; 172 };
173 173
174 } // namespace extensions 174 } // namespace extensions
175 175
176 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 176 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698