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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 7747018: Introduced the URLBlacklistManager, and wired it to various places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed, rebased Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 class DnsCertProvenanceChecker; 39 class DnsCertProvenanceChecker;
40 class HttpTransactionFactory; 40 class HttpTransactionFactory;
41 class NetLog; 41 class NetLog;
42 class OriginBoundCertService; 42 class OriginBoundCertService;
43 class ProxyConfigService; 43 class ProxyConfigService;
44 class ProxyService; 44 class ProxyService;
45 class SSLConfigService; 45 class SSLConfigService;
46 class TransportSecurityState; 46 class TransportSecurityState;
47 } // namespace net 47 } // namespace net
48 48
49 namespace policy {
50 class HostBlacklistManager;
51 } // namespace policy
52
49 namespace prerender { 53 namespace prerender {
50 class PrerenderManager; 54 class PrerenderManager;
51 }; // namespace prerender 55 }; // namespace prerender
52 56
53 namespace quota { 57 namespace quota {
54 class QuotaManager; 58 class QuotaManager;
55 }; // namespace quota 59 }; // namespace quota
56 60
57 namespace webkit_database { 61 namespace webkit_database {
58 class DatabaseTracker; 62 class DatabaseTracker;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 scoped_refptr<HostContentSettingsMap> host_content_settings_map; 141 scoped_refptr<HostContentSettingsMap> host_content_settings_map;
138 scoped_refptr<HostZoomMap> host_zoom_map; 142 scoped_refptr<HostZoomMap> host_zoom_map;
139 scoped_refptr<net::TransportSecurityState> transport_security_state; 143 scoped_refptr<net::TransportSecurityState> transport_security_state;
140 scoped_refptr<net::SSLConfigService> ssl_config_service; 144 scoped_refptr<net::SSLConfigService> ssl_config_service;
141 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; 145 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate;
142 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; 146 scoped_refptr<webkit_database::DatabaseTracker> database_tracker;
143 scoped_refptr<ChromeAppCacheService> appcache_service; 147 scoped_refptr<ChromeAppCacheService> appcache_service;
144 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; 148 scoped_refptr<ChromeBlobStorageContext> blob_storage_context;
145 scoped_refptr<fileapi::FileSystemContext> file_system_context; 149 scoped_refptr<fileapi::FileSystemContext> file_system_context;
146 scoped_refptr<quota::QuotaManager> quota_manager; 150 scoped_refptr<quota::QuotaManager> quota_manager;
151 scoped_refptr<policy::HostBlacklistManager> host_blacklist_manager;
147 scoped_refptr<ExtensionInfoMap> extension_info_map; 152 scoped_refptr<ExtensionInfoMap> extension_info_map;
148 DesktopNotificationService* notification_service; 153 DesktopNotificationService* notification_service;
149 base::Callback<prerender::PrerenderManager*(void)> prerender_manager_getter; 154 base::Callback<prerender::PrerenderManager*(void)> prerender_manager_getter;
150 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; 155 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry;
151 // We need to initialize the ProxyConfigService from the UI thread 156 // We need to initialize the ProxyConfigService from the UI thread
152 // because on linux it relies on initializing things through gconf, 157 // because on linux it relies on initializing things through gconf,
153 // and needs to be on the main thread. 158 // and needs to be on the main thread.
154 scoped_ptr<net::ProxyConfigService> proxy_config_service; 159 scoped_ptr<net::ProxyConfigService> proxy_config_service;
155 // The profile this struct was populated from. It's passed as a void* to 160 // The profile this struct was populated from. It's passed as a void* to
156 // ensure it's not accidently used on the IO thread. Before using it on the 161 // ensure it's not accidently used on the IO thread. Before using it on the
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; 271 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_;
267 mutable scoped_ptr<net::ProxyService> proxy_service_; 272 mutable scoped_ptr<net::ProxyService> proxy_service_;
268 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; 273 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
269 274
270 // Pointed to by ResourceContext. 275 // Pointed to by ResourceContext.
271 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; 276 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
272 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; 277 mutable scoped_refptr<ChromeAppCacheService> appcache_service_;
273 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 278 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
274 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; 279 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_;
275 mutable scoped_refptr<quota::QuotaManager> quota_manager_; 280 mutable scoped_refptr<quota::QuotaManager> quota_manager_;
281 mutable scoped_refptr<policy::HostBlacklistManager> host_blacklist_manager_;
willchan no longer on Chromium 2011/08/26 11:40:21 Where does ResourceContext use this? I don't see i
Joao da Silva 2011/08/29 11:24:25 My bad, it's actually pointed to be the network de
276 mutable scoped_refptr<HostZoomMap> host_zoom_map_; 282 mutable scoped_refptr<HostZoomMap> host_zoom_map_;
277 283
278 // TODO(willchan): Remove from ResourceContext. 284 // TODO(willchan): Remove from ResourceContext.
279 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 285 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
280 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 286 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
281 mutable DesktopNotificationService* notification_service_; 287 mutable DesktopNotificationService* notification_service_;
282 mutable base::Callback<prerender::PrerenderManager*(void)> 288 mutable base::Callback<prerender::PrerenderManager*(void)>
283 prerender_manager_getter_; 289 prerender_manager_getter_;
284 290
285 mutable ResourceContext resource_context_; 291 mutable ResourceContext resource_context_;
286 292
287 // These are only valid in between LazyInitialize() and their accessor being 293 // These are only valid in between LazyInitialize() and their accessor being
288 // called. 294 // called.
289 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; 295 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_;
290 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; 296 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_;
291 // One AppRequestContext per isolated app. 297 // One AppRequestContext per isolated app.
292 mutable AppRequestContextMap app_request_context_map_; 298 mutable AppRequestContextMap app_request_context_map_;
293 299
294 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 300 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
295 }; 301 };
296 302
297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 303 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698