| 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> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 uint16_t testing_fixed_https_port; | 134 uint16_t testing_fixed_https_port; |
| 135 Optional<bool> enable_tcp_fast_open_for_ssl; | 135 Optional<bool> enable_tcp_fast_open_for_ssl; |
| 136 | 136 |
| 137 Optional<bool> enable_spdy31; | 137 Optional<bool> enable_spdy31; |
| 138 Optional<bool> enable_http2; | 138 Optional<bool> enable_http2; |
| 139 Optional<bool> parse_alternative_services; | 139 Optional<bool> parse_alternative_services; |
| 140 Optional<bool> enable_alternative_service_with_different_host; | 140 Optional<bool> enable_alternative_service_with_different_host; |
| 141 | 141 |
| 142 Optional<bool> enable_npn; | 142 Optional<bool> enable_npn; |
| 143 | 143 |
| 144 Optional<bool> enable_priority_dependencies; |
| 145 |
| 144 Optional<bool> enable_quic; | 146 Optional<bool> enable_quic; |
| 145 Optional<bool> enable_quic_for_proxies; | 147 Optional<bool> enable_quic_for_proxies; |
| 146 Optional<bool> quic_always_require_handshake_confirmation; | 148 Optional<bool> quic_always_require_handshake_confirmation; |
| 147 Optional<bool> quic_disable_connection_pooling; | 149 Optional<bool> quic_disable_connection_pooling; |
| 148 Optional<float> quic_load_server_info_timeout_srtt_multiplier; | 150 Optional<float> quic_load_server_info_timeout_srtt_multiplier; |
| 149 Optional<bool> quic_enable_connection_racing; | 151 Optional<bool> quic_enable_connection_racing; |
| 150 Optional<bool> quic_enable_non_blocking_io; | 152 Optional<bool> quic_enable_non_blocking_io; |
| 151 Optional<bool> quic_disable_disk_cache; | 153 Optional<bool> quic_disable_disk_cache; |
| 152 Optional<bool> quic_prefer_aes; | 154 Optional<bool> quic_prefer_aes; |
| 153 Optional<int> quic_max_number_of_lossy_connections; | 155 Optional<int> quic_max_number_of_lossy_connections; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // SystemRequestContext state has been initialized on the UI thread. | 247 // SystemRequestContext state has been initialized on the UI thread. |
| 246 void InitSystemRequestContextOnIOThread(); | 248 void InitSystemRequestContextOnIOThread(); |
| 247 | 249 |
| 248 void CreateDefaultAuthHandlerFactory(); | 250 void CreateDefaultAuthHandlerFactory(); |
| 249 | 251 |
| 250 // Returns an SSLConfigService instance. | 252 // Returns an SSLConfigService instance. |
| 251 net::SSLConfigService* GetSSLConfigService(); | 253 net::SSLConfigService* GetSSLConfigService(); |
| 252 | 254 |
| 253 void ChangedToOnTheRecordOnIOThread(); | 255 void ChangedToOnTheRecordOnIOThread(); |
| 254 | 256 |
| 257 // Configure whether we set HTTP/2 dependencies from the |
| 258 // net::RequestPriority. |
| 259 void ConfigurePriorityDependencies(); |
| 260 |
| 255 // Configures QUIC options based on the QUIC field trial group. | 261 // Configures QUIC options based on the QUIC field trial group. |
| 256 void ConfigureQuic(); | 262 void ConfigureQuic(); |
| 257 | 263 |
| 258 // Configures QUIC options in |globals| based on the flags in |command_line| | 264 // Configures QUIC options in |globals| based on the flags in |command_line| |
| 259 // as well as the QUIC field trial group and parameters. | 265 // as well as the QUIC field trial group and parameters. |
| 260 // Must be called before ConfigureSpdyGlobals. | 266 // Must be called before ConfigureSpdyGlobals. |
| 261 static void ConfigureQuicGlobals(base::StringPiece quic_trial_group, | 267 static void ConfigureQuicGlobals(base::StringPiece quic_trial_group, |
| 262 const VariationParameters& quic_trial_params, | 268 const VariationParameters& quic_trial_params, |
| 263 Globals* globals); | 269 Globals* globals); |
| 264 | 270 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 system_url_request_context_getter_; | 391 system_url_request_context_getter_; |
| 386 | 392 |
| 387 const base::TimeTicks creation_time_; | 393 const base::TimeTicks creation_time_; |
| 388 | 394 |
| 389 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; | 395 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; |
| 390 | 396 |
| 391 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); | 397 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); |
| 392 }; | 398 }; |
| 393 | 399 |
| 394 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ | 400 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ |
| OLD | NEW |