| 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 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "chrome/browser/net/chrome_url_request_context.h" | 18 #include "chrome/browser/net/chrome_url_request_context.h" |
| 19 #include "chrome/browser/prefs/pref_member.h" | 19 #include "chrome/browser/prefs/pref_member.h" |
| 20 #include "content/browser/resource_context.h" | 20 #include "content/browser/resource_context.h" |
| 21 #include "net/base/cookie_monster.h" | 21 #include "net/base/cookie_monster.h" |
| 22 | 22 |
| 23 class AudioManager; |
| 23 class ChromeAppCacheService; | 24 class ChromeAppCacheService; |
| 24 class ChromeBlobStorageContext; | 25 class ChromeBlobStorageContext; |
| 25 class CookieSettings; | 26 class CookieSettings; |
| 26 class DesktopNotificationService; | 27 class DesktopNotificationService; |
| 27 class DownloadIdFactory; | 28 class DownloadIdFactory; |
| 28 class ExtensionInfoMap; | 29 class ExtensionInfoMap; |
| 29 class HostContentSettingsMap; | 30 class HostContentSettingsMap; |
| 30 class HostZoomMap; | 31 class HostZoomMap; |
| 31 class IOThread; | 32 class IOThread; |
| 32 class Profile; | 33 class Profile; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ProfileParams(); | 141 ProfileParams(); |
| 141 ~ProfileParams(); | 142 ~ProfileParams(); |
| 142 | 143 |
| 143 FilePath path; | 144 FilePath path; |
| 144 bool is_incognito; | 145 bool is_incognito; |
| 145 bool clear_local_state_on_exit; | 146 bool clear_local_state_on_exit; |
| 146 std::string accept_language; | 147 std::string accept_language; |
| 147 std::string accept_charset; | 148 std::string accept_charset; |
| 148 std::string referrer_charset; | 149 std::string referrer_charset; |
| 149 IOThread* io_thread; | 150 IOThread* io_thread; |
| 151 scoped_refptr<AudioManager> audio_manager; |
| 150 scoped_refptr<HostContentSettingsMap> host_content_settings_map; | 152 scoped_refptr<HostContentSettingsMap> host_content_settings_map; |
| 151 scoped_refptr<CookieSettings> cookie_settings; | 153 scoped_refptr<CookieSettings> cookie_settings; |
| 152 scoped_refptr<HostZoomMap> host_zoom_map; | 154 scoped_refptr<HostZoomMap> host_zoom_map; |
| 153 scoped_refptr<net::SSLConfigService> ssl_config_service; | 155 scoped_refptr<net::SSLConfigService> ssl_config_service; |
| 154 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; | 156 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; |
| 155 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; | 157 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; |
| 156 scoped_refptr<ChromeAppCacheService> appcache_service; | 158 scoped_refptr<ChromeAppCacheService> appcache_service; |
| 157 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; | 159 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; |
| 158 scoped_refptr<fileapi::FileSystemContext> file_system_context; | 160 scoped_refptr<fileapi::FileSystemContext> file_system_context; |
| 159 scoped_refptr<quota::QuotaManager> quota_manager; | 161 scoped_refptr<quota::QuotaManager> quota_manager; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 // One AppRequestContext per isolated app. | 318 // One AppRequestContext per isolated app. |
| 317 mutable AppRequestContextMap app_request_context_map_; | 319 mutable AppRequestContextMap app_request_context_map_; |
| 318 | 320 |
| 319 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 321 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 320 bool initialized_on_UI_thread_; | 322 bool initialized_on_UI_thread_; |
| 321 | 323 |
| 322 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 324 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 323 }; | 325 }; |
| 324 | 326 |
| 325 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 327 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |