| 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 27 matching lines...) Expand all Loading... |
| 38 class TransportSecurityPersister; | 38 class TransportSecurityPersister; |
| 39 | 39 |
| 40 namespace chrome_browser_net { | 40 namespace chrome_browser_net { |
| 41 class LoadTimeStats; | 41 class LoadTimeStats; |
| 42 class ResourcePrefetchPredictorObserver; | 42 class ResourcePrefetchPredictorObserver; |
| 43 } | 43 } |
| 44 | 44 |
| 45 namespace net { | 45 namespace net { |
| 46 class CookieStore; | 46 class CookieStore; |
| 47 class FraudulentCertificateReporter; | 47 class FraudulentCertificateReporter; |
| 48 class FtpTransactionFactory; | |
| 49 class HttpServerProperties; | 48 class HttpServerProperties; |
| 50 class HttpTransactionFactory; | 49 class HttpTransactionFactory; |
| 51 class ServerBoundCertService; | 50 class ServerBoundCertService; |
| 52 class ProxyConfigService; | 51 class ProxyConfigService; |
| 53 class ProxyService; | 52 class ProxyService; |
| 54 class SSLConfigService; | 53 class SSLConfigService; |
| 55 class TransportSecurityState; | 54 class TransportSecurityState; |
| 56 class URLRequestJobFactoryImpl; | 55 class URLRequestJobFactoryImpl; |
| 57 } // namespace net | 56 } // namespace net |
| 58 | 57 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 static std::string GetSSLSessionCacheShard(); | 279 static std::string GetSSLSessionCacheShard(); |
| 281 | 280 |
| 282 void InitializeOnUIThread(Profile* profile); | 281 void InitializeOnUIThread(Profile* profile); |
| 283 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; | 282 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; |
| 284 | 283 |
| 285 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( | 284 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( |
| 286 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, | 285 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, |
| 287 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 286 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 288 protocol_handler_interceptor, | 287 protocol_handler_interceptor, |
| 289 net::NetworkDelegate* network_delegate, | 288 net::NetworkDelegate* network_delegate, |
| 290 net::FtpTransactionFactory* ftp_transaction_factory) const; | 289 net::FtpTransactionFactory* ftp_transaction_factory, |
| 290 net::FtpAuthCache* ftp_auth_cache) const; |
| 291 | 291 |
| 292 // Called when the profile is destroyed. | 292 // Called when the profile is destroyed. |
| 293 void ShutdownOnUIThread(); | 293 void ShutdownOnUIThread(); |
| 294 | 294 |
| 295 // A ServerBoundCertService object is created by a derived class of | 295 // A ServerBoundCertService object is created by a derived class of |
| 296 // ProfileIOData, and the derived class calls this method to set the | 296 // ProfileIOData, and the derived class calls this method to set the |
| 297 // server_bound_cert_service_ member and transfers ownership to the base | 297 // server_bound_cert_service_ member and transfers ownership to the base |
| 298 // class. | 298 // class. |
| 299 void set_server_bound_cert_service( | 299 void set_server_bound_cert_service( |
| 300 net::ServerBoundCertService* server_bound_cert_service) const; | 300 net::ServerBoundCertService* server_bound_cert_service) const; |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 515 |
| 516 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 516 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 517 bool initialized_on_UI_thread_; | 517 bool initialized_on_UI_thread_; |
| 518 | 518 |
| 519 bool is_incognito_; | 519 bool is_incognito_; |
| 520 | 520 |
| 521 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 521 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 522 }; | 522 }; |
| 523 | 523 |
| 524 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 524 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |