| OLD | NEW |
| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class ChromeAppCacheService; | 24 class ChromeAppCacheService; |
| 25 class ChromeBlobStorageContext; | 25 class ChromeBlobStorageContext; |
| 26 class CookieSettings; | 26 class CookieSettings; |
| 27 class DesktopNotificationService; | 27 class DesktopNotificationService; |
| 28 class ExtensionInfoMap; | 28 class ExtensionInfoMap; |
| 29 class HostContentSettingsMap; | 29 class HostContentSettingsMap; |
| 30 class IOThread; | 30 class IOThread; |
| 31 class Profile; | 31 class Profile; |
| 32 class ProtocolHandlerRegistry; | 32 class ProtocolHandlerRegistry; |
| 33 class TransportSecurityPersister; | 33 class TransportSecurityPersister; |
| 34 class WebKitContext; |
| 34 | 35 |
| 35 namespace fileapi { | 36 namespace fileapi { |
| 36 class FileSystemContext; | 37 class FileSystemContext; |
| 37 } // namespace fileapi | 38 } // namespace fileapi |
| 38 | 39 |
| 39 namespace media_stream { | 40 namespace media_stream { |
| 40 class MediaStreamManager; | 41 class MediaStreamManager; |
| 41 } // namespace media_stream | 42 } // namespace media_stream |
| 42 | 43 |
| 43 namespace net { | 44 namespace net { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 scoped_refptr<AudioManager> audio_manager; | 149 scoped_refptr<AudioManager> audio_manager; |
| 149 scoped_refptr<HostContentSettingsMap> host_content_settings_map; | 150 scoped_refptr<HostContentSettingsMap> host_content_settings_map; |
| 150 scoped_refptr<CookieSettings> cookie_settings; | 151 scoped_refptr<CookieSettings> cookie_settings; |
| 151 scoped_refptr<content::HostZoomMap> host_zoom_map; | 152 scoped_refptr<content::HostZoomMap> host_zoom_map; |
| 152 scoped_refptr<net::SSLConfigService> ssl_config_service; | 153 scoped_refptr<net::SSLConfigService> ssl_config_service; |
| 153 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; | 154 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; |
| 154 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; | 155 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; |
| 155 scoped_refptr<ChromeAppCacheService> appcache_service; | 156 scoped_refptr<ChromeAppCacheService> appcache_service; |
| 156 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; | 157 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; |
| 157 scoped_refptr<fileapi::FileSystemContext> file_system_context; | 158 scoped_refptr<fileapi::FileSystemContext> file_system_context; |
| 159 scoped_refptr<WebKitContext> webkit_context; |
| 158 scoped_refptr<quota::QuotaManager> quota_manager; | 160 scoped_refptr<quota::QuotaManager> quota_manager; |
| 159 scoped_refptr<ExtensionInfoMap> extension_info_map; | 161 scoped_refptr<ExtensionInfoMap> extension_info_map; |
| 160 DesktopNotificationService* notification_service; | 162 DesktopNotificationService* notification_service; |
| 161 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; | 163 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; |
| 162 // We need to initialize the ProxyConfigService from the UI thread | 164 // We need to initialize the ProxyConfigService from the UI thread |
| 163 // because on linux it relies on initializing things through gconf, | 165 // because on linux it relies on initializing things through gconf, |
| 164 // and needs to be on the main thread. | 166 // and needs to be on the main thread. |
| 165 scoped_ptr<net::ProxyConfigService> proxy_config_service; | 167 scoped_ptr<net::ProxyConfigService> proxy_config_service; |
| 166 // The profile this struct was populated from. It's passed as a void* to | 168 // The profile this struct was populated from. It's passed as a void* to |
| 167 // ensure it's not accidently used on the IO thread. Before using it on the | 169 // ensure it's not accidently used on the IO thread. Before using it on the |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 fraudulent_certificate_reporter_; | 282 fraudulent_certificate_reporter_; |
| 281 mutable scoped_ptr<net::ProxyService> proxy_service_; | 283 mutable scoped_ptr<net::ProxyService> proxy_service_; |
| 282 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; | 284 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; |
| 283 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; | 285 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; |
| 284 | 286 |
| 285 // Pointed to by ResourceContext. | 287 // Pointed to by ResourceContext. |
| 286 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; | 288 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; |
| 287 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; | 289 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 288 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 290 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 289 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 291 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
| 292 mutable scoped_refptr<WebKitContext> webkit_context_; |
| 290 mutable scoped_refptr<quota::QuotaManager> quota_manager_; | 293 mutable scoped_refptr<quota::QuotaManager> quota_manager_; |
| 291 mutable scoped_refptr<content::HostZoomMap> host_zoom_map_; | 294 mutable scoped_refptr<content::HostZoomMap> host_zoom_map_; |
| 292 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; | 295 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; |
| 293 | 296 |
| 294 // TODO(willchan): Remove from ResourceContext. | 297 // TODO(willchan): Remove from ResourceContext. |
| 295 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; | 298 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 296 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 299 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
| 297 mutable scoped_refptr<CookieSettings> cookie_settings_; | 300 mutable scoped_refptr<CookieSettings> cookie_settings_; |
| 298 mutable DesktopNotificationService* notification_service_; | 301 mutable DesktopNotificationService* notification_service_; |
| 299 | 302 |
| 300 mutable ResourceContext resource_context_; | 303 mutable ResourceContext resource_context_; |
| 301 | 304 |
| 302 mutable scoped_ptr<TransportSecurityPersister> | 305 mutable scoped_ptr<TransportSecurityPersister> |
| 303 transport_security_persister_; | 306 transport_security_persister_; |
| 304 | 307 |
| 305 // These are only valid in between LazyInitialize() and their accessor being | 308 // These are only valid in between LazyInitialize() and their accessor being |
| 306 // called. | 309 // called. |
| 307 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; | 310 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; |
| 308 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; | 311 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; |
| 309 // One AppRequestContext per isolated app. | 312 // One AppRequestContext per isolated app. |
| 310 mutable AppRequestContextMap app_request_context_map_; | 313 mutable AppRequestContextMap app_request_context_map_; |
| 311 | 314 |
| 312 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 315 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 313 bool initialized_on_UI_thread_; | 316 bool initialized_on_UI_thread_; |
| 314 | 317 |
| 315 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 318 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 316 }; | 319 }; |
| 317 | 320 |
| 318 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 321 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |