| 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 <set> | 9 #include <set> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "chrome/browser/net/chrome_url_request_context.h" | 17 #include "chrome/browser/net/chrome_url_request_context.h" |
| 18 #include "chrome/browser/prefs/pref_member.h" | 18 #include "chrome/browser/prefs/pref_member.h" |
| 19 #include "content/browser/download/download_manager.h" | |
| 20 #include "content/browser/resource_context.h" | 19 #include "content/browser/resource_context.h" |
| 21 #include "net/base/cookie_monster.h" | 20 #include "net/base/cookie_monster.h" |
| 22 | 21 |
| 23 class CommandLine; | 22 class CommandLine; |
| 24 class ChromeAppCacheService; | 23 class ChromeAppCacheService; |
| 25 class ChromeBlobStorageContext; | 24 class ChromeBlobStorageContext; |
| 26 class DesktopNotificationService; | 25 class DesktopNotificationService; |
| 26 class DownloadIdFactory; |
| 27 class ExtensionInfoMap; | 27 class ExtensionInfoMap; |
| 28 class HostContentSettingsMap; | 28 class HostContentSettingsMap; |
| 29 class HostZoomMap; | 29 class HostZoomMap; |
| 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 | 34 |
| 35 namespace fileapi { | 35 namespace fileapi { |
| 36 class FileSystemContext; | 36 class FileSystemContext; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; | 287 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; |
| 288 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; | 288 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; |
| 289 | 289 |
| 290 // Pointed to by ResourceContext. | 290 // Pointed to by ResourceContext. |
| 291 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; | 291 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; |
| 292 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; | 292 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 293 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 293 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 294 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 294 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
| 295 mutable scoped_refptr<quota::QuotaManager> quota_manager_; | 295 mutable scoped_refptr<quota::QuotaManager> quota_manager_; |
| 296 mutable scoped_refptr<HostZoomMap> host_zoom_map_; | 296 mutable scoped_refptr<HostZoomMap> host_zoom_map_; |
| 297 mutable DownloadManager::GetNextIdThunkType next_download_id_thunk_; | 297 mutable scoped_refptr<DownloadIdFactory> download_id_factory_; |
| 298 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; | 298 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; |
| 299 | 299 |
| 300 // TODO(willchan): Remove from ResourceContext. | 300 // TODO(willchan): Remove from ResourceContext. |
| 301 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; | 301 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 302 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 302 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
| 303 mutable DesktopNotificationService* notification_service_; | 303 mutable DesktopNotificationService* notification_service_; |
| 304 | 304 |
| 305 mutable ResourceContext resource_context_; | 305 mutable ResourceContext resource_context_; |
| 306 | 306 |
| 307 mutable scoped_ptr<TransportSecurityPersister> | 307 mutable scoped_ptr<TransportSecurityPersister> |
| 308 transport_security_persister_; | 308 transport_security_persister_; |
| 309 | 309 |
| 310 // These are only valid in between LazyInitialize() and their accessor being | 310 // These are only valid in between LazyInitialize() and their accessor being |
| 311 // called. | 311 // called. |
| 312 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; | 312 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; |
| 313 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; | 313 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; |
| 314 // One AppRequestContext per isolated app. | 314 // One AppRequestContext per isolated app. |
| 315 mutable AppRequestContextMap app_request_context_map_; | 315 mutable AppRequestContextMap app_request_context_map_; |
| 316 | 316 |
| 317 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 317 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 320 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |