| 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_IO_THREAD_H_ | 5 #ifndef CHROME_BROWSER_IO_THREAD_H_ |
| 6 #define CHROME_BROWSER_IO_THREAD_H_ | 6 #define CHROME_BROWSER_IO_THREAD_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace chrome_browser_net { | 38 namespace chrome_browser_net { |
| 39 class DnsProbeService; | 39 class DnsProbeService; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace extensions { | 42 namespace extensions { |
| 43 class EventRouterForwarder; | 43 class EventRouterForwarder; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace data_usage { |
| 47 class DataUseAggregator; |
| 48 } |
| 49 |
| 46 namespace net { | 50 namespace net { |
| 47 class CertPolicyEnforcer; | 51 class CertPolicyEnforcer; |
| 48 class CertVerifier; | 52 class CertVerifier; |
| 49 class ChannelIDService; | 53 class ChannelIDService; |
| 50 class CookieStore; | 54 class CookieStore; |
| 51 class CTVerifier; | 55 class CTVerifier; |
| 52 class FtpTransactionFactory; | 56 class FtpTransactionFactory; |
| 53 class HostMappingRules; | 57 class HostMappingRules; |
| 54 class HostResolver; | 58 class HostResolver; |
| 55 class HttpAuthHandlerFactory; | 59 class HttpAuthHandlerFactory; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 explicit SystemRequestContextLeakChecker(Globals* globals); | 119 explicit SystemRequestContextLeakChecker(Globals* globals); |
| 116 ~SystemRequestContextLeakChecker(); | 120 ~SystemRequestContextLeakChecker(); |
| 117 | 121 |
| 118 private: | 122 private: |
| 119 Globals* const globals_; | 123 Globals* const globals_; |
| 120 }; | 124 }; |
| 121 | 125 |
| 122 Globals(); | 126 Globals(); |
| 123 ~Globals(); | 127 ~Globals(); |
| 124 | 128 |
| 129 // Global aggregator of data use. It must outlive the |
| 130 // |system_network_delegate|. |
| 131 scoped_ptr<data_usage::DataUseAggregator> data_use_aggregator; |
| 125 // The "system" NetworkDelegate, used for Profile-agnostic network events. | 132 // The "system" NetworkDelegate, used for Profile-agnostic network events. |
| 126 scoped_ptr<net::NetworkDelegate> system_network_delegate; | 133 scoped_ptr<net::NetworkDelegate> system_network_delegate; |
| 127 scoped_ptr<net::HostResolver> host_resolver; | 134 scoped_ptr<net::HostResolver> host_resolver; |
| 128 scoped_ptr<net::CertVerifier> cert_verifier; | 135 scoped_ptr<net::CertVerifier> cert_verifier; |
| 129 // The ChannelIDService must outlive the HttpTransactionFactory. | 136 // The ChannelIDService must outlive the HttpTransactionFactory. |
| 130 scoped_ptr<net::ChannelIDService> system_channel_id_service; | 137 scoped_ptr<net::ChannelIDService> system_channel_id_service; |
| 131 // This TransportSecurityState doesn't load or save any state. It's only | 138 // This TransportSecurityState doesn't load or save any state. It's only |
| 132 // used to enforce pinning for system requests and will only use built-in | 139 // used to enforce pinning for system requests and will only use built-in |
| 133 // pins. | 140 // pins. |
| 134 scoped_ptr<net::TransportSecurityState> transport_security_state; | 141 scoped_ptr<net::TransportSecurityState> transport_security_state; |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 bool is_quic_allowed_by_policy_; | 514 bool is_quic_allowed_by_policy_; |
| 508 | 515 |
| 509 const base::TimeTicks creation_time_; | 516 const base::TimeTicks creation_time_; |
| 510 | 517 |
| 511 base::WeakPtrFactory<IOThread> weak_factory_; | 518 base::WeakPtrFactory<IOThread> weak_factory_; |
| 512 | 519 |
| 513 DISALLOW_COPY_AND_ASSIGN(IOThread); | 520 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 514 }; | 521 }; |
| 515 | 522 |
| 516 #endif // CHROME_BROWSER_IO_THREAD_H_ | 523 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |