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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 scoped_refptr<net::TransportSecurityState> transport_security_state; | 98 scoped_refptr<net::TransportSecurityState> transport_security_state; |
99 scoped_refptr<net::SSLConfigService> ssl_config_service; | 99 scoped_refptr<net::SSLConfigService> ssl_config_service; |
100 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; | 100 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; |
101 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; | 101 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; |
102 scoped_refptr<ChromeAppCacheService> appcache_service; | 102 scoped_refptr<ChromeAppCacheService> appcache_service; |
103 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; | 103 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; |
104 scoped_refptr<fileapi::FileSystemContext> file_system_context; | 104 scoped_refptr<fileapi::FileSystemContext> file_system_context; |
105 scoped_refptr<ExtensionInfoMap> extension_info_map; | 105 scoped_refptr<ExtensionInfoMap> extension_info_map; |
106 scoped_refptr<ExtensionIOEventRouter> extension_io_event_router; | 106 scoped_refptr<ExtensionIOEventRouter> extension_io_event_router; |
107 scoped_refptr<prerender::PrerenderManager> prerender_manager; | 107 scoped_refptr<prerender::PrerenderManager> prerender_manager; |
| 108 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; |
108 // We need to initialize the ProxyConfigService from the UI thread | 109 // We need to initialize the ProxyConfigService from the UI thread |
109 // because on linux it relies on initializing things through gconf, | 110 // because on linux it relies on initializing things through gconf, |
110 // and needs to be on the main thread. | 111 // and needs to be on the main thread. |
111 scoped_ptr<net::ProxyConfigService> proxy_config_service; | 112 scoped_ptr<net::ProxyConfigService> proxy_config_service; |
112 }; | 113 }; |
113 | 114 |
114 explicit ProfileIOData(bool is_off_the_record); | 115 explicit ProfileIOData(bool is_off_the_record); |
115 virtual ~ProfileIOData(); | 116 virtual ~ProfileIOData(); |
116 | 117 |
117 // Static helper functions to assist in common operations executed by | 118 // Static helper functions to assist in common operations executed by |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 AcquireMediaRequestContext() const = 0; | 150 AcquireMediaRequestContext() const = 0; |
150 virtual scoped_refptr<ChromeURLRequestContext> | 151 virtual scoped_refptr<ChromeURLRequestContext> |
151 AcquireExtensionsRequestContext() const = 0; | 152 AcquireExtensionsRequestContext() const = 0; |
152 | 153 |
153 mutable bool initialized_; | 154 mutable bool initialized_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 156 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
156 }; | 157 }; |
157 | 158 |
158 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 159 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |