Chromium Code Reviews| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/prefs/pref_member.h" | 18 #include "base/prefs/pref_member.h" |
| 19 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
| 20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 21 #include "chrome/browser/net/chrome_network_delegate.h" | 21 #include "chrome/browser/net/chrome_network_delegate.h" |
| 22 #include "components/data_usage/core/data_use_aggregator.h" | 22 #include "components/data_usage/core/data_use_aggregator.h" |
| 23 #include "components/ssl_config/ssl_config_service_manager.h" | 23 #include "components/ssl_config/ssl_config_service_manager.h" |
| 24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
| 25 #include "content/public/browser/browser_thread_delegate.h" | 25 #include "content/public/browser/browser_thread_delegate.h" |
| 26 #include "net/base/network_change_notifier.h" | 26 #include "net/base/network_change_notifier.h" |
| 27 #include "net/cert/ct_verifier.h" | |
|
mmenke
2015/11/17 17:38:32
Why can't this still be forward declared?
Eran Messeri
2015/11/18 14:16:22
Done - it can.
| |
| 27 #include "net/http/http_network_session.h" | 28 #include "net/http/http_network_session.h" |
| 28 #include "net/socket/next_proto.h" | 29 #include "net/socket/next_proto.h" |
| 29 | 30 |
| 30 class PrefProxyConfigTracker; | 31 class PrefProxyConfigTracker; |
| 31 class PrefService; | 32 class PrefService; |
| 32 class PrefRegistrySimple; | 33 class PrefRegistrySimple; |
| 33 class SystemURLRequestContextGetter; | 34 class SystemURLRequestContextGetter; |
| 34 | 35 |
| 35 namespace base { | 36 namespace base { |
| 36 class CommandLine; | 37 class CommandLine; |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 50 | 51 |
| 51 namespace extensions { | 52 namespace extensions { |
| 52 class EventRouterForwarder; | 53 class EventRouterForwarder; |
| 53 } | 54 } |
| 54 | 55 |
| 55 namespace net { | 56 namespace net { |
| 56 class CertPolicyEnforcer; | 57 class CertPolicyEnforcer; |
| 57 class CertVerifier; | 58 class CertVerifier; |
| 58 class ChannelIDService; | 59 class ChannelIDService; |
| 59 class CookieStore; | 60 class CookieStore; |
| 60 class CTVerifier; | 61 class CTLogVerifier; |
| 61 class FtpTransactionFactory; | 62 class FtpTransactionFactory; |
| 62 class HostMappingRules; | 63 class HostMappingRules; |
| 63 class HostResolver; | 64 class HostResolver; |
| 64 class HttpAuthHandlerFactory; | 65 class HttpAuthHandlerFactory; |
| 65 class HttpNetworkSession; | 66 class HttpNetworkSession; |
| 66 class HttpServerProperties; | 67 class HttpServerProperties; |
| 67 class HttpTransactionFactory; | 68 class HttpTransactionFactory; |
| 68 class HttpUserAgentSettings; | 69 class HttpUserAgentSettings; |
| 69 class NetworkDelegate; | 70 class NetworkDelegate; |
| 70 class NetworkQualityEstimator; | 71 class NetworkQualityEstimator; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 // The "system" NetworkDelegate, used for Profile-agnostic network events. | 136 // The "system" NetworkDelegate, used for Profile-agnostic network events. |
| 136 scoped_ptr<net::NetworkDelegate> system_network_delegate; | 137 scoped_ptr<net::NetworkDelegate> system_network_delegate; |
| 137 scoped_ptr<net::HostResolver> host_resolver; | 138 scoped_ptr<net::HostResolver> host_resolver; |
| 138 scoped_ptr<net::CertVerifier> cert_verifier; | 139 scoped_ptr<net::CertVerifier> cert_verifier; |
| 139 // The ChannelIDService must outlive the HttpTransactionFactory. | 140 // The ChannelIDService must outlive the HttpTransactionFactory. |
| 140 scoped_ptr<net::ChannelIDService> system_channel_id_service; | 141 scoped_ptr<net::ChannelIDService> system_channel_id_service; |
| 141 // This TransportSecurityState doesn't load or save any state. It's only | 142 // This TransportSecurityState doesn't load or save any state. It's only |
| 142 // used to enforce pinning for system requests and will only use built-in | 143 // used to enforce pinning for system requests and will only use built-in |
| 143 // pins. | 144 // pins. |
| 144 scoped_ptr<net::TransportSecurityState> transport_security_state; | 145 scoped_ptr<net::TransportSecurityState> transport_security_state; |
| 146 std::vector<scoped_refptr<net::CTLogVerifier>> ct_logs; | |
| 145 scoped_ptr<net::CTVerifier> cert_transparency_verifier; | 147 scoped_ptr<net::CTVerifier> cert_transparency_verifier; |
| 146 scoped_ptr<net::CertPolicyEnforcer> cert_policy_enforcer; | 148 scoped_ptr<net::CertPolicyEnforcer> cert_policy_enforcer; |
| 147 scoped_refptr<net::SSLConfigService> ssl_config_service; | 149 scoped_refptr<net::SSLConfigService> ssl_config_service; |
| 148 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; | 150 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; |
| 149 scoped_ptr<net::HttpServerProperties> http_server_properties; | 151 scoped_ptr<net::HttpServerProperties> http_server_properties; |
| 150 scoped_ptr<net::ProxyService> proxy_script_fetcher_proxy_service; | 152 scoped_ptr<net::ProxyService> proxy_script_fetcher_proxy_service; |
| 151 scoped_ptr<net::HttpNetworkSession> | 153 scoped_ptr<net::HttpNetworkSession> |
| 152 proxy_script_fetcher_http_network_session; | 154 proxy_script_fetcher_http_network_session; |
| 153 scoped_ptr<net::HttpTransactionFactory> | 155 scoped_ptr<net::HttpTransactionFactory> |
| 154 proxy_script_fetcher_http_transaction_factory; | 156 proxy_script_fetcher_http_transaction_factory; |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 542 #endif // defined(OS_ANDROID) | 544 #endif // defined(OS_ANDROID) |
| 543 | 545 |
| 544 const base::TimeTicks creation_time_; | 546 const base::TimeTicks creation_time_; |
| 545 | 547 |
| 546 base::WeakPtrFactory<IOThread> weak_factory_; | 548 base::WeakPtrFactory<IOThread> weak_factory_; |
| 547 | 549 |
| 548 DISALLOW_COPY_AND_ASSIGN(IOThread); | 550 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 549 }; | 551 }; |
| 550 | 552 |
| 551 #endif // CHROME_BROWSER_IO_THREAD_H_ | 553 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |