OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 5 #ifndef IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
6 #define IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 6 #define IOS_CHROME_BROWSER_IOS_CHROME_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" |
21 #include "components/ssl_config/ssl_config_service_manager.h" | 24 #include "components/ssl_config/ssl_config_service_manager.h" |
22 #include "ios/web/public/web_thread_delegate.h" | 25 #include "ios/web/public/web_thread_delegate.h" |
23 #include "net/base/network_change_notifier.h" | 26 #include "net/base/network_change_notifier.h" |
24 #include "net/http/http_network_session.h" | 27 #include "net/http/http_network_session.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 scoped_ptr<net::URLRequestBackoffManager> url_request_backoff_manager; | 124 scoped_ptr<net::URLRequestBackoffManager> url_request_backoff_manager; |
122 scoped_ptr<net::ProxyService> system_proxy_service; | 125 scoped_ptr<net::ProxyService> system_proxy_service; |
123 scoped_ptr<net::HttpNetworkSession> system_http_network_session; | 126 scoped_ptr<net::HttpNetworkSession> system_http_network_session; |
124 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory; | 127 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory; |
125 scoped_ptr<net::URLRequestJobFactory> system_url_request_job_factory; | 128 scoped_ptr<net::URLRequestJobFactory> system_url_request_job_factory; |
126 scoped_ptr<net::URLRequestContext> system_request_context; | 129 scoped_ptr<net::URLRequestContext> system_request_context; |
127 SystemRequestContextLeakChecker system_request_context_leak_checker; | 130 SystemRequestContextLeakChecker system_request_context_leak_checker; |
128 scoped_refptr<net::CookieStore> system_cookie_store; | 131 scoped_refptr<net::CookieStore> system_cookie_store; |
129 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; | 132 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; |
130 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator; | 133 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator; |
131 uint16 testing_fixed_http_port; | 134 uint16_t testing_fixed_http_port; |
132 uint16 testing_fixed_https_port; | 135 uint16_t testing_fixed_https_port; |
133 Optional<bool> enable_tcp_fast_open_for_ssl; | 136 Optional<bool> enable_tcp_fast_open_for_ssl; |
134 | 137 |
135 Optional<size_t> initial_max_spdy_concurrent_streams; | 138 Optional<size_t> initial_max_spdy_concurrent_streams; |
136 Optional<bool> enable_spdy_compression; | 139 Optional<bool> enable_spdy_compression; |
137 Optional<bool> enable_spdy_ping_based_connection_checking; | 140 Optional<bool> enable_spdy_ping_based_connection_checking; |
138 net::NextProtoVector next_protos; | 141 net::NextProtoVector next_protos; |
139 std::set<net::HostPortPair> forced_spdy_exclusions; | 142 std::set<net::HostPortPair> forced_spdy_exclusions; |
140 Optional<bool> use_alternative_services; | 143 Optional<bool> use_alternative_services; |
141 Optional<double> alternative_service_probability_threshold; | 144 Optional<double> alternative_service_probability_threshold; |
142 | 145 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 system_url_request_context_getter_; | 390 system_url_request_context_getter_; |
388 | 391 |
389 const base::TimeTicks creation_time_; | 392 const base::TimeTicks creation_time_; |
390 | 393 |
391 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; | 394 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; |
392 | 395 |
393 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); | 396 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); |
394 }; | 397 }; |
395 | 398 |
396 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 399 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
OLD | NEW |