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/download/download_manager.h" | |
17 #include "chrome/browser/net/chrome_url_request_context.h" | 18 #include "chrome/browser/net/chrome_url_request_context.h" |
18 #include "chrome/browser/prefs/pref_member.h" | 19 #include "chrome/browser/prefs/pref_member.h" |
19 #include "content/browser/resource_context.h" | 20 #include "content/browser/resource_context.h" |
20 #include "net/base/cookie_monster.h" | 21 #include "net/base/cookie_monster.h" |
21 | 22 |
22 class CommandLine; | 23 class CommandLine; |
23 class ChromeAppCacheService; | 24 class ChromeAppCacheService; |
24 class ChromeBlobStorageContext; | 25 class ChromeBlobStorageContext; |
25 class DesktopNotificationService; | 26 class DesktopNotificationService; |
26 class ExtensionInfoMap; | 27 class ExtensionInfoMap; |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 | 244 |
244 // Data from the UI thread from the Profile, used to initialize ProfileIOData. | 245 // Data from the UI thread from the Profile, used to initialize ProfileIOData. |
245 // Deleted after lazy initialization. | 246 // Deleted after lazy initialization. |
246 mutable scoped_ptr<ProfileParams> profile_params_; | 247 mutable scoped_ptr<ProfileParams> profile_params_; |
247 | 248 |
248 // Member variables which are pointed to by the various context objects. | 249 // Member variables which are pointed to by the various context objects. |
249 mutable BooleanPrefMember enable_referrers_; | 250 mutable BooleanPrefMember enable_referrers_; |
250 mutable BooleanPrefMember clear_local_state_on_exit_; | 251 mutable BooleanPrefMember clear_local_state_on_exit_; |
251 mutable BooleanPrefMember safe_browsing_enabled_; | 252 mutable BooleanPrefMember safe_browsing_enabled_; |
252 | 253 |
254 mutable DownloadManager::GetNextIdThunkType next_download_id_thunk_; | |
willchan no longer on Chromium
2011/08/10 01:24:20
Can you move this down to the ResourceContext sect
benjhayden
2011/08/16 19:54:15
Done.
| |
255 | |
253 // Pointed to by URLRequestContext. | 256 // Pointed to by URLRequestContext. |
254 mutable scoped_ptr<ChromeURLDataManagerBackend> | 257 mutable scoped_ptr<ChromeURLDataManagerBackend> |
255 chrome_url_data_manager_backend_; | 258 chrome_url_data_manager_backend_; |
256 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; | 259 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; |
257 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; | 260 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; |
258 mutable scoped_ptr<net::ProxyService> proxy_service_; | 261 mutable scoped_ptr<net::ProxyService> proxy_service_; |
259 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; | 262 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; |
260 | 263 |
261 // Pointed to by ResourceContext. | 264 // Pointed to by ResourceContext. |
262 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; | 265 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; |
(...skipping 16 matching lines...) Expand all Loading... | |
279 // called. | 282 // called. |
280 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; | 283 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; |
281 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; | 284 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; |
282 // One AppRequestContext per isolated app. | 285 // One AppRequestContext per isolated app. |
283 mutable AppRequestContextMap app_request_context_map_; | 286 mutable AppRequestContextMap app_request_context_map_; |
284 | 287 |
285 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 288 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
286 }; | 289 }; |
287 | 290 |
288 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |