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> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
bengr
2016/01/26 19:39:55
I don't think you need this include anymore.
tbansal1
2016/01/27 00:13:33
string is used at other places in this file. e.g.,
| |
14 #include <unordered_set> | 14 #include <unordered_set> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "base/prefs/pref_member.h" | 22 #include "base/prefs/pref_member.h" |
23 #include "base/strings/string_piece.h" | 23 #include "base/strings/string_piece.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
202 bool ignore_certificate_errors; | 202 bool ignore_certificate_errors; |
203 uint16_t testing_fixed_http_port; | 203 uint16_t testing_fixed_http_port; |
204 uint16_t testing_fixed_https_port; | 204 uint16_t testing_fixed_https_port; |
205 Optional<bool> enable_tcp_fast_open_for_ssl; | 205 Optional<bool> enable_tcp_fast_open_for_ssl; |
206 | 206 |
207 Optional<size_t> initial_max_spdy_concurrent_streams; | 207 Optional<size_t> initial_max_spdy_concurrent_streams; |
208 Optional<bool> enable_spdy_compression; | 208 Optional<bool> enable_spdy_compression; |
209 Optional<bool> enable_spdy_ping_based_connection_checking; | 209 Optional<bool> enable_spdy_ping_based_connection_checking; |
210 Optional<net::NextProto> spdy_default_protocol; | 210 Optional<net::NextProto> spdy_default_protocol; |
211 net::NextProtoVector next_protos; | 211 net::NextProtoVector next_protos; |
212 Optional<std::string> trusted_spdy_proxy; | |
213 std::set<net::HostPortPair> forced_spdy_exclusions; | 212 std::set<net::HostPortPair> forced_spdy_exclusions; |
214 Optional<bool> use_alternative_services; | 213 Optional<bool> use_alternative_services; |
215 Optional<double> alternative_service_probability_threshold; | 214 Optional<double> alternative_service_probability_threshold; |
216 | 215 |
217 Optional<bool> enable_npn; | 216 Optional<bool> enable_npn; |
218 | 217 |
219 Optional<bool> enable_brotli; | 218 Optional<bool> enable_brotli; |
220 | 219 |
221 Optional<bool> enable_quic; | 220 Optional<bool> enable_quic; |
222 Optional<bool> enable_quic_for_proxies; | 221 Optional<bool> enable_quic_for_proxies; |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
583 bool is_quic_allowed_by_policy_; | 582 bool is_quic_allowed_by_policy_; |
584 | 583 |
585 const base::TimeTicks creation_time_; | 584 const base::TimeTicks creation_time_; |
586 | 585 |
587 base::WeakPtrFactory<IOThread> weak_factory_; | 586 base::WeakPtrFactory<IOThread> weak_factory_; |
588 | 587 |
589 DISALLOW_COPY_AND_ASSIGN(IOThread); | 588 DISALLOW_COPY_AND_ASSIGN(IOThread); |
590 }; | 589 }; |
591 | 590 |
592 #endif // CHROME_BROWSER_IO_THREAD_H_ | 591 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |