| 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 17 matching lines...) Expand all Loading... |
| 28 class DesktopNotificationService; | 28 class DesktopNotificationService; |
| 29 class ExtensionInfoMap; | 29 class ExtensionInfoMap; |
| 30 class HostContentSettingsMap; | 30 class HostContentSettingsMap; |
| 31 class Profile; | 31 class Profile; |
| 32 class ProtocolHandlerRegistry; | 32 class ProtocolHandlerRegistry; |
| 33 class SigninNamesOnIOThread; | 33 class SigninNamesOnIOThread; |
| 34 class TransportSecurityPersister; | 34 class TransportSecurityPersister; |
| 35 | 35 |
| 36 namespace chrome_browser_net { | 36 namespace chrome_browser_net { |
| 37 class LoadTimeStats; | 37 class LoadTimeStats; |
| 38 class HttpServerPropertiesManager; | |
| 39 class ResourcePrefetchPredictorObserver; | 38 class ResourcePrefetchPredictorObserver; |
| 40 } | 39 } |
| 41 | 40 |
| 42 namespace net { | 41 namespace net { |
| 43 class CookieStore; | 42 class CookieStore; |
| 44 class FraudulentCertificateReporter; | 43 class FraudulentCertificateReporter; |
| 44 class HttpServerProperties; |
| 45 class HttpTransactionFactory; | 45 class HttpTransactionFactory; |
| 46 class ServerBoundCertService; | 46 class ServerBoundCertService; |
| 47 class ProxyConfigService; | 47 class ProxyConfigService; |
| 48 class ProxyService; | 48 class ProxyService; |
| 49 class SSLConfigService; | 49 class SSLConfigService; |
| 50 class TransportSecurityState; | 50 class TransportSecurityState; |
| 51 class URLRequestJobFactoryImpl; | 51 class URLRequestJobFactoryImpl; |
| 52 } // namespace net | 52 } // namespace net |
| 53 | 53 |
| 54 namespace policy { | 54 namespace policy { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 BooleanPrefMember* printing_enabled() const { | 138 BooleanPrefMember* printing_enabled() const { |
| 139 return &printing_enabled_; | 139 return &printing_enabled_; |
| 140 } | 140 } |
| 141 | 141 |
| 142 net::TransportSecurityState* transport_security_state() const { | 142 net::TransportSecurityState* transport_security_state() const { |
| 143 return transport_security_state_.get(); | 143 return transport_security_state_.get(); |
| 144 } | 144 } |
| 145 | 145 |
| 146 chrome_browser_net::HttpServerPropertiesManager* | |
| 147 http_server_properties_manager() const; | |
| 148 | |
| 149 bool is_incognito() const { | 146 bool is_incognito() const { |
| 150 return is_incognito_; | 147 return is_incognito_; |
| 151 } | 148 } |
| 152 | 149 |
| 153 chrome_browser_net::ResourcePrefetchPredictorObserver* | 150 chrome_browser_net::ResourcePrefetchPredictorObserver* |
| 154 resource_prefetch_predictor_observer() const { | 151 resource_prefetch_predictor_observer() const { |
| 155 return resource_prefetch_predictor_observer_.get(); | 152 return resource_prefetch_predictor_observer_.get(); |
| 156 } | 153 } |
| 157 | 154 |
| 158 // Initialize the member needed to track the metrics enabled state. This is | 155 // Initialize the member needed to track the metrics enabled state. This is |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 274 } |
| 278 | 275 |
| 279 net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const { | 276 net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const { |
| 280 return fraudulent_certificate_reporter_.get(); | 277 return fraudulent_certificate_reporter_.get(); |
| 281 } | 278 } |
| 282 | 279 |
| 283 net::ProxyService* proxy_service() const { | 280 net::ProxyService* proxy_service() const { |
| 284 return proxy_service_.get(); | 281 return proxy_service_.get(); |
| 285 } | 282 } |
| 286 | 283 |
| 287 void set_http_server_properties_manager( | 284 net::HttpServerProperties* http_server_properties() const; |
| 288 chrome_browser_net::HttpServerPropertiesManager* manager) const; | 285 |
| 286 void set_http_server_properties( |
| 287 net::HttpServerProperties* http_server_properties) const; |
| 289 | 288 |
| 290 ChromeURLRequestContext* main_request_context() const { | 289 ChromeURLRequestContext* main_request_context() const { |
| 291 return main_request_context_.get(); | 290 return main_request_context_.get(); |
| 292 } | 291 } |
| 293 | 292 |
| 294 chrome_browser_net::LoadTimeStats* load_time_stats() const { | 293 chrome_browser_net::LoadTimeStats* load_time_stats() const { |
| 295 return load_time_stats_; | 294 return load_time_stats_; |
| 296 } | 295 } |
| 297 | 296 |
| 298 // Destroys the ResourceContext first, to cancel any URLRequests that are | 297 // Destroys the ResourceContext first, to cancel any URLRequests that are |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 // Pointed to by URLRequestContext. | 431 // Pointed to by URLRequestContext. |
| 433 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; | 432 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 434 mutable scoped_ptr<ChromeURLDataManagerBackend> | 433 mutable scoped_ptr<ChromeURLDataManagerBackend> |
| 435 chrome_url_data_manager_backend_; | 434 chrome_url_data_manager_backend_; |
| 436 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_; | 435 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_; |
| 437 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; | 436 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; |
| 438 mutable scoped_ptr<net::FraudulentCertificateReporter> | 437 mutable scoped_ptr<net::FraudulentCertificateReporter> |
| 439 fraudulent_certificate_reporter_; | 438 fraudulent_certificate_reporter_; |
| 440 mutable scoped_ptr<net::ProxyService> proxy_service_; | 439 mutable scoped_ptr<net::ProxyService> proxy_service_; |
| 441 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; | 440 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; |
| 442 mutable scoped_ptr<chrome_browser_net::HttpServerPropertiesManager> | 441 mutable scoped_ptr<net::HttpServerProperties> |
| 443 http_server_properties_manager_; | 442 http_server_properties_; |
| 444 | 443 |
| 445 #if defined(ENABLE_NOTIFICATIONS) | 444 #if defined(ENABLE_NOTIFICATIONS) |
| 446 mutable DesktopNotificationService* notification_service_; | 445 mutable DesktopNotificationService* notification_service_; |
| 447 #endif | 446 #endif |
| 448 | 447 |
| 449 mutable scoped_ptr<TransportSecurityPersister> | 448 mutable scoped_ptr<TransportSecurityPersister> |
| 450 transport_security_persister_; | 449 transport_security_persister_; |
| 451 | 450 |
| 452 // These are only valid in between LazyInitialize() and their accessor being | 451 // These are only valid in between LazyInitialize() and their accessor being |
| 453 // called. | 452 // called. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 471 | 470 |
| 472 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 471 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 473 bool initialized_on_UI_thread_; | 472 bool initialized_on_UI_thread_; |
| 474 | 473 |
| 475 bool is_incognito_; | 474 bool is_incognito_; |
| 476 | 475 |
| 477 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 476 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 478 }; | 477 }; |
| 479 | 478 |
| 480 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 479 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |