| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 class TransportSecurityPersister; | 36 class TransportSecurityPersister; |
| 37 | 37 |
| 38 namespace chrome_browser_net { | 38 namespace chrome_browser_net { |
| 39 class LoadTimeStats; | 39 class LoadTimeStats; |
| 40 class ResourcePrefetchPredictorObserver; | 40 class ResourcePrefetchPredictorObserver; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace net { | 43 namespace net { |
| 44 class CookieStore; | 44 class CookieStore; |
| 45 class FraudulentCertificateReporter; | 45 class FraudulentCertificateReporter; |
| 46 class FtpTransactionFactory; |
| 46 class HttpServerProperties; | 47 class HttpServerProperties; |
| 47 class HttpTransactionFactory; | 48 class HttpTransactionFactory; |
| 48 class ServerBoundCertService; | 49 class ServerBoundCertService; |
| 49 class ProxyConfigService; | 50 class ProxyConfigService; |
| 50 class ProxyService; | 51 class ProxyService; |
| 51 class SSLConfigService; | 52 class SSLConfigService; |
| 52 class TransportSecurityState; | 53 class TransportSecurityState; |
| 53 class URLRequestJobFactoryImpl; | 54 class URLRequestJobFactoryImpl; |
| 54 } // namespace net | 55 } // namespace net |
| 55 | 56 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 static std::string GetSSLSessionCacheShard(); | 246 static std::string GetSSLSessionCacheShard(); |
| 246 | 247 |
| 247 void InitializeOnUIThread(Profile* profile); | 248 void InitializeOnUIThread(Profile* profile); |
| 248 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; | 249 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; |
| 249 | 250 |
| 250 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( | 251 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( |
| 251 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, | 252 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, |
| 252 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 253 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 253 protocol_handler_interceptor, | 254 protocol_handler_interceptor, |
| 254 net::NetworkDelegate* network_delegate, | 255 net::NetworkDelegate* network_delegate, |
| 255 net::FtpTransactionFactory* ftp_transaction_factory, | 256 net::FtpTransactionFactory* ftp_transaction_factory) const; |
| 256 net::FtpAuthCache* ftp_auth_cache) const; | |
| 257 | 257 |
| 258 // Lazy initializes the ProfileIOData object the first time a request context | 258 // Lazy initializes the ProfileIOData object the first time a request context |
| 259 // is requested. The lazy logic is implemented here. The actual initialization | 259 // is requested. The lazy logic is implemented here. The actual initialization |
| 260 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper | 260 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper |
| 261 // functions have been provided to assist in common operations. | 261 // functions have been provided to assist in common operations. |
| 262 void LazyInitialize() const; | 262 void LazyInitialize() const; |
| 263 | 263 |
| 264 // Called when the profile is destroyed. | 264 // Called when the profile is destroyed. |
| 265 void ShutdownOnUIThread(); | 265 void ShutdownOnUIThread(); |
| 266 | 266 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 | 477 |
| 478 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 478 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 479 bool initialized_on_UI_thread_; | 479 bool initialized_on_UI_thread_; |
| 480 | 480 |
| 481 bool is_incognito_; | 481 bool is_incognito_; |
| 482 | 482 |
| 483 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 483 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 484 }; | 484 }; |
| 485 | 485 |
| 486 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 486 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |