| 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 <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <map> | 11 #include <map> |
| 9 #include <set> | 12 #include <set> |
| 10 #include <string> | 13 #include <string> |
| 11 #include <vector> | 14 #include <vector> |
| 12 | 15 |
| 13 #include "base/basictypes.h" | |
| 14 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
| 17 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 18 #include "base/prefs/pref_member.h" | 21 #include "base/prefs/pref_member.h" |
| 19 #include "base/strings/string_piece.h" | 22 #include "base/strings/string_piece.h" |
| 20 #include "base/time/time.h" | 23 #include "base/time/time.h" |
| 24 #include "build/build_config.h" |
| 21 #include "chrome/browser/net/chrome_network_delegate.h" | 25 #include "chrome/browser/net/chrome_network_delegate.h" |
| 22 #include "chrome/common/features.h" | 26 #include "chrome/common/features.h" |
| 23 #include "components/ssl_config/ssl_config_service_manager.h" | 27 #include "components/ssl_config/ssl_config_service_manager.h" |
| 24 #include "content/public/browser/browser_thread.h" | 28 #include "content/public/browser/browser_thread.h" |
| 25 #include "content/public/browser/browser_thread_delegate.h" | 29 #include "content/public/browser/browser_thread_delegate.h" |
| 26 #include "net/base/network_change_notifier.h" | 30 #include "net/base/network_change_notifier.h" |
| 27 #include "net/http/http_network_session.h" | 31 #include "net/http/http_network_session.h" |
| 28 #include "net/socket/next_proto.h" | 32 #include "net/socket/next_proto.h" |
| 29 | 33 |
| 30 class PrefProxyConfigTracker; | 34 class PrefProxyConfigTracker; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // between |proxy_script_fetcher_context| and |system_request_context|. | 192 // between |proxy_script_fetcher_context| and |system_request_context|. |
| 189 scoped_refptr<net::CookieStore> system_cookie_store; | 193 scoped_refptr<net::CookieStore> system_cookie_store; |
| 190 #if defined(ENABLE_EXTENSIONS) | 194 #if defined(ENABLE_EXTENSIONS) |
| 191 scoped_refptr<extensions::EventRouterForwarder> | 195 scoped_refptr<extensions::EventRouterForwarder> |
| 192 extension_event_router_forwarder; | 196 extension_event_router_forwarder; |
| 193 #endif | 197 #endif |
| 194 scoped_ptr<net::HostMappingRules> host_mapping_rules; | 198 scoped_ptr<net::HostMappingRules> host_mapping_rules; |
| 195 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; | 199 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; |
| 196 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator; | 200 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator; |
| 197 bool ignore_certificate_errors; | 201 bool ignore_certificate_errors; |
| 198 uint16 testing_fixed_http_port; | 202 uint16_t testing_fixed_http_port; |
| 199 uint16 testing_fixed_https_port; | 203 uint16_t testing_fixed_https_port; |
| 200 Optional<bool> enable_tcp_fast_open_for_ssl; | 204 Optional<bool> enable_tcp_fast_open_for_ssl; |
| 201 | 205 |
| 202 Optional<size_t> initial_max_spdy_concurrent_streams; | 206 Optional<size_t> initial_max_spdy_concurrent_streams; |
| 203 Optional<bool> enable_spdy_compression; | 207 Optional<bool> enable_spdy_compression; |
| 204 Optional<bool> enable_spdy_ping_based_connection_checking; | 208 Optional<bool> enable_spdy_ping_based_connection_checking; |
| 205 Optional<net::NextProto> spdy_default_protocol; | 209 Optional<net::NextProto> spdy_default_protocol; |
| 206 net::NextProtoVector next_protos; | 210 net::NextProtoVector next_protos; |
| 207 Optional<std::string> trusted_spdy_proxy; | 211 Optional<std::string> trusted_spdy_proxy; |
| 208 std::set<net::HostPortPair> forced_spdy_exclusions; | 212 std::set<net::HostPortPair> forced_spdy_exclusions; |
| 209 Optional<bool> use_alternative_services; | 213 Optional<bool> use_alternative_services; |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 bool is_quic_allowed_by_policy_; | 568 bool is_quic_allowed_by_policy_; |
| 565 | 569 |
| 566 const base::TimeTicks creation_time_; | 570 const base::TimeTicks creation_time_; |
| 567 | 571 |
| 568 base::WeakPtrFactory<IOThread> weak_factory_; | 572 base::WeakPtrFactory<IOThread> weak_factory_; |
| 569 | 573 |
| 570 DISALLOW_COPY_AND_ASSIGN(IOThread); | 574 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 571 }; | 575 }; |
| 572 | 576 |
| 573 #endif // CHROME_BROWSER_IO_THREAD_H_ | 577 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |