OLD | NEW |
1 // Copyright (c) 2012 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" |
(...skipping 11 matching lines...) Expand all Loading... |
23 class AudioManager; | 23 class AudioManager; |
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 | 34 |
34 namespace fileapi { | 35 namespace fileapi { |
35 class FileSystemContext; | 36 class FileSystemContext; |
36 } // namespace fileapi | 37 } // namespace fileapi |
37 | 38 |
38 namespace media_stream { | 39 namespace media_stream { |
39 class MediaStreamManager; | 40 class MediaStreamManager; |
40 } // namespace media_stream | 41 } // namespace media_stream |
41 | 42 |
42 namespace net { | 43 namespace net { |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; | 292 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; |
292 | 293 |
293 // TODO(willchan): Remove from ResourceContext. | 294 // TODO(willchan): Remove from ResourceContext. |
294 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; | 295 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; |
295 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 296 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
296 mutable scoped_refptr<CookieSettings> cookie_settings_; | 297 mutable scoped_refptr<CookieSettings> cookie_settings_; |
297 mutable DesktopNotificationService* notification_service_; | 298 mutable DesktopNotificationService* notification_service_; |
298 | 299 |
299 mutable ResourceContext resource_context_; | 300 mutable ResourceContext resource_context_; |
300 | 301 |
| 302 mutable scoped_ptr<TransportSecurityPersister> |
| 303 transport_security_persister_; |
| 304 |
301 // These are only valid in between LazyInitialize() and their accessor being | 305 // These are only valid in between LazyInitialize() and their accessor being |
302 // called. | 306 // called. |
303 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; | 307 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; |
304 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; | 308 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; |
305 // One AppRequestContext per isolated app. | 309 // One AppRequestContext per isolated app. |
306 mutable AppRequestContextMap app_request_context_map_; | 310 mutable AppRequestContextMap app_request_context_map_; |
307 | 311 |
308 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 312 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
309 bool initialized_on_UI_thread_; | 313 bool initialized_on_UI_thread_; |
310 | 314 |
311 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 315 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
312 }; | 316 }; |
313 | 317 |
314 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 318 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |