| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 prerender::PrerenderTracker* prerender_tracker; | 324 prerender::PrerenderTracker* prerender_tracker; |
| 325 }; | 325 }; |
| 326 | 326 |
| 327 explicit ProfileIOData(Profile::ProfileType profile_type); | 327 explicit ProfileIOData(Profile::ProfileType profile_type); |
| 328 | 328 |
| 329 static std::string GetSSLSessionCacheShard(); | 329 static std::string GetSSLSessionCacheShard(); |
| 330 | 330 |
| 331 void InitializeOnUIThread(Profile* profile); | 331 void InitializeOnUIThread(Profile* profile); |
| 332 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; | 332 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; |
| 333 | 333 |
| 334 #if defined(OS_ANDROID) | |
| 335 #if defined(SPDY_PROXY_AUTH_ORIGIN) | |
| 336 void SetDataReductionProxyUsageStatsOnIOThread(IOThread* io_thread, | 334 void SetDataReductionProxyUsageStatsOnIOThread(IOThread* io_thread, |
| 337 Profile* profile); | 335 Profile* profile); |
| 338 void SetDataReductionProxyUsageStatsOnUIThread(Profile* profile, | 336 void SetDataReductionProxyUsageStatsOnUIThread(Profile* profile, |
| 339 data_reduction_proxy::DataReductionProxyUsageStats* usage_stats); | 337 data_reduction_proxy::DataReductionProxyUsageStats* usage_stats); |
| 340 #endif | |
| 341 #endif | |
| 342 | 338 |
| 343 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( | 339 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( |
| 344 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, | 340 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, |
| 345 content::URLRequestInterceptorScopedVector request_interceptors, | 341 content::URLRequestInterceptorScopedVector request_interceptors, |
| 346 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> | 342 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> |
| 347 protocol_handler_interceptor, | 343 protocol_handler_interceptor, |
| 348 net::NetworkDelegate* network_delegate, | 344 net::NetworkDelegate* network_delegate, |
| 349 net::FtpTransactionFactory* ftp_transaction_factory) const; | 345 net::FtpTransactionFactory* ftp_transaction_factory) const; |
| 350 | 346 |
| 351 // Called when the profile is destroyed. | 347 // Called when the profile is destroyed. |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 | 600 |
| 605 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 601 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 606 bool initialized_on_UI_thread_; | 602 bool initialized_on_UI_thread_; |
| 607 | 603 |
| 608 const Profile::ProfileType profile_type_; | 604 const Profile::ProfileType profile_type_; |
| 609 | 605 |
| 610 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 606 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 611 }; | 607 }; |
| 612 | 608 |
| 613 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 609 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |