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

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

Issue 63933003: Moved ExtensionInfoMap and ExtensionsQuotaService to extensions/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 1 month 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) 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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
23 #include "content/public/browser/content_browser_client.h" 23 #include "content/public/browser/content_browser_client.h"
24 #include "content/public/browser/resource_context.h" 24 #include "content/public/browser/resource_context.h"
25 #include "net/cookies/cookie_monster.h" 25 #include "net/cookies/cookie_monster.h"
26 #include "net/http/http_network_session.h" 26 #include "net/http/http_network_session.h"
27 #include "net/url_request/url_request_job_factory.h" 27 #include "net/url_request/url_request_job_factory.h"
28 28
29 class ChromeHttpUserAgentSettings; 29 class ChromeHttpUserAgentSettings;
30 class ChromeNetworkDelegate; 30 class ChromeNetworkDelegate;
31 class CookieSettings; 31 class CookieSettings;
32 class DesktopNotificationService; 32 class DesktopNotificationService;
33 class ExtensionInfoMap;
34 class HostContentSettingsMap; 33 class HostContentSettingsMap;
35 class ManagedModeURLFilter; 34 class ManagedModeURLFilter;
36 class Profile; 35 class Profile;
37 class ProtocolHandlerRegistry; 36 class ProtocolHandlerRegistry;
38 class SigninNamesOnIOThread; 37 class SigninNamesOnIOThread;
39 class TransportSecurityPersister; 38 class TransportSecurityPersister;
40 39
41 namespace chrome_browser_net { 40 namespace chrome_browser_net {
42 class LoadTimeStats; 41 class LoadTimeStats;
43 class ResourcePrefetchPredictorObserver; 42 class ResourcePrefetchPredictorObserver;
44 } 43 }
45 44
45 namespace extensions {
46 class InfoMap;
47 }
48
46 namespace net { 49 namespace net {
47 class CertVerifier; 50 class CertVerifier;
48 class CookieStore; 51 class CookieStore;
49 class FraudulentCertificateReporter; 52 class FraudulentCertificateReporter;
50 class FtpTransactionFactory; 53 class FtpTransactionFactory;
51 class HttpServerProperties; 54 class HttpServerProperties;
52 class HttpTransactionFactory; 55 class HttpTransactionFactory;
53 class ServerBoundCertService; 56 class ServerBoundCertService;
54 class ProxyConfigService; 57 class ProxyConfigService;
55 class ProxyService; 58 class ProxyService;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 109 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
107 protocol_handler_interceptor, 110 protocol_handler_interceptor,
108 content::ProtocolHandlerMap* protocol_handlers) const; 111 content::ProtocolHandlerMap* protocol_handlers) const;
109 ChromeURLRequestContext* GetIsolatedMediaRequestContext( 112 ChromeURLRequestContext* GetIsolatedMediaRequestContext(
110 ChromeURLRequestContext* app_context, 113 ChromeURLRequestContext* app_context,
111 const StoragePartitionDescriptor& partition_descriptor) const; 114 const StoragePartitionDescriptor& partition_descriptor) const;
112 115
113 // These are useful when the Chrome layer is called from the content layer 116 // These are useful when the Chrome layer is called from the content layer
114 // with a content::ResourceContext, and they want access to Chrome data for 117 // with a content::ResourceContext, and they want access to Chrome data for
115 // that profile. 118 // that profile.
116 ExtensionInfoMap* GetExtensionInfoMap() const; 119 extensions::InfoMap* GetExtensionInfoMap() const;
117 CookieSettings* GetCookieSettings() const; 120 CookieSettings* GetCookieSettings() const;
118 HostContentSettingsMap* GetHostContentSettingsMap() const; 121 HostContentSettingsMap* GetHostContentSettingsMap() const;
119 122
120 #if defined(ENABLE_NOTIFICATIONS) 123 #if defined(ENABLE_NOTIFICATIONS)
121 DesktopNotificationService* GetNotificationService() const; 124 DesktopNotificationService* GetNotificationService() const;
122 #endif 125 #endif
123 126
124 IntegerPrefMember* session_startup_pref() const { 127 IntegerPrefMember* session_startup_pref() const {
125 return &session_startup_pref_; 128 return &session_startup_pref_;
126 } 129 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 struct ProfileParams { 246 struct ProfileParams {
244 ProfileParams(); 247 ProfileParams();
245 ~ProfileParams(); 248 ~ProfileParams();
246 249
247 base::FilePath path; 250 base::FilePath path;
248 IOThread* io_thread; 251 IOThread* io_thread;
249 scoped_refptr<CookieSettings> cookie_settings; 252 scoped_refptr<CookieSettings> cookie_settings;
250 scoped_refptr<HostContentSettingsMap> host_content_settings_map; 253 scoped_refptr<HostContentSettingsMap> host_content_settings_map;
251 scoped_refptr<net::SSLConfigService> ssl_config_service; 254 scoped_refptr<net::SSLConfigService> ssl_config_service;
252 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; 255 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate;
253 scoped_refptr<ExtensionInfoMap> extension_info_map; 256 scoped_refptr<extensions::InfoMap> extension_info_map;
254 scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> 257 scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
255 resource_prefetch_predictor_observer_; 258 resource_prefetch_predictor_observer_;
256 259
257 #if defined(ENABLE_NOTIFICATIONS) 260 #if defined(ENABLE_NOTIFICATIONS)
258 DesktopNotificationService* notification_service; 261 DesktopNotificationService* notification_service;
259 #endif 262 #endif
260 263
261 // This pointer exists only as a means of conveying a url job factory 264 // This pointer exists only as a means of conveying a url job factory
262 // pointer from the protocol handler registry on the UI thread to the 265 // pointer from the protocol handler registry on the UI thread to the
263 // the URLRequestContext on the IO thread. The consumer MUST take 266 // the URLRequestContext on the IO thread. The consumer MUST take
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 #if defined(OS_CHROMEOS) 484 #if defined(OS_CHROMEOS)
482 bool enable_metrics_; 485 bool enable_metrics_;
483 #else 486 #else
484 BooleanPrefMember enable_metrics_; 487 BooleanPrefMember enable_metrics_;
485 #endif 488 #endif
486 489
487 // Pointed to by NetworkDelegate. 490 // Pointed to by NetworkDelegate.
488 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; 491 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_;
489 492
490 // Pointed to by URLRequestContext. 493 // Pointed to by URLRequestContext.
491 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 494 mutable scoped_refptr<extensions::InfoMap> extension_info_map_;
492 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_; 495 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_;
493 mutable scoped_ptr<ChromeNetworkDelegate> network_delegate_; 496 mutable scoped_ptr<ChromeNetworkDelegate> network_delegate_;
494 mutable scoped_ptr<net::FraudulentCertificateReporter> 497 mutable scoped_ptr<net::FraudulentCertificateReporter>
495 fraudulent_certificate_reporter_; 498 fraudulent_certificate_reporter_;
496 mutable scoped_ptr<net::ProxyService> proxy_service_; 499 mutable scoped_ptr<net::ProxyService> proxy_service_;
497 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; 500 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
498 mutable scoped_ptr<net::HttpServerProperties> 501 mutable scoped_ptr<net::HttpServerProperties>
499 http_server_properties_; 502 http_server_properties_;
500 #if defined(OS_CHROMEOS) 503 #if defined(OS_CHROMEOS)
501 mutable scoped_ptr<net::CertVerifier> cert_verifier_; 504 mutable scoped_ptr<net::CertVerifier> cert_verifier_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 539
537 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 540 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
538 bool initialized_on_UI_thread_; 541 bool initialized_on_UI_thread_;
539 542
540 bool is_incognito_; 543 bool is_incognito_;
541 544
542 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 545 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
543 }; 546 };
544 547
545 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 548 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698