Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: chrome/browser/io_thread.h

Issue 1779733003: Fix bug in net::RequestPriority -> HTTP/2 dependency conversion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make bi-directional stream unittests enable priority->dependency setting. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 Optional<bool> enable_http2; 208 Optional<bool> enable_http2;
209 std::set<net::HostPortPair> forced_spdy_exclusions; 209 std::set<net::HostPortPair> forced_spdy_exclusions;
210 Optional<bool> parse_alternative_services; 210 Optional<bool> parse_alternative_services;
211 Optional<bool> enable_alternative_service_with_different_host; 211 Optional<bool> enable_alternative_service_with_different_host;
212 Optional<double> alternative_service_probability_threshold; 212 Optional<double> alternative_service_probability_threshold;
213 213
214 Optional<bool> enable_npn; 214 Optional<bool> enable_npn;
215 215
216 Optional<bool> enable_brotli; 216 Optional<bool> enable_brotli;
217 217
218 Optional<bool> enable_priority_dependencies;
219
218 Optional<bool> enable_quic; 220 Optional<bool> enable_quic;
219 Optional<bool> disable_quic_on_timeout_with_open_streams; 221 Optional<bool> disable_quic_on_timeout_with_open_streams;
220 Optional<bool> enable_quic_for_proxies; 222 Optional<bool> enable_quic_for_proxies;
221 Optional<bool> enable_quic_port_selection; 223 Optional<bool> enable_quic_port_selection;
222 Optional<bool> quic_always_require_handshake_confirmation; 224 Optional<bool> quic_always_require_handshake_confirmation;
223 Optional<bool> quic_disable_connection_pooling; 225 Optional<bool> quic_disable_connection_pooling;
224 Optional<float> quic_load_server_info_timeout_srtt_multiplier; 226 Optional<float> quic_load_server_info_timeout_srtt_multiplier;
225 Optional<bool> quic_enable_connection_racing; 227 Optional<bool> quic_enable_connection_racing;
226 Optional<bool> quic_enable_non_blocking_io; 228 Optional<bool> quic_enable_non_blocking_io;
227 Optional<bool> quic_disable_disk_cache; 229 Optional<bool> quic_disable_disk_cache;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 351
350 void ChangedToOnTheRecordOnIOThread(); 352 void ChangedToOnTheRecordOnIOThread();
351 353
352 void UpdateDnsClientEnabled(); 354 void UpdateDnsClientEnabled();
353 void UpdateServerWhitelist(); 355 void UpdateServerWhitelist();
354 void UpdateDelegateWhitelist(); 356 void UpdateDelegateWhitelist();
355 void UpdateAndroidAuthNegotiateAccountType(); 357 void UpdateAndroidAuthNegotiateAccountType();
356 void UpdateNegotiateDisableCnameLookup(); 358 void UpdateNegotiateDisableCnameLookup();
357 void UpdateNegotiateEnablePort(); 359 void UpdateNegotiateEnablePort();
358 360
361 // Configure the use of priority dependencies in SPDY/HTTP2
362 void ConfigurePriorityDependencies();
363
359 // Configures QUIC options based on the flags in |command_line| as 364 // Configures QUIC options based on the flags in |command_line| as
360 // well as the QUIC field trial group. 365 // well as the QUIC field trial group.
361 void ConfigureQuic(const base::CommandLine& command_line); 366 void ConfigureQuic(const base::CommandLine& command_line);
362 367
363 extensions::EventRouterForwarder* extension_event_router_forwarder() { 368 extensions::EventRouterForwarder* extension_event_router_forwarder() {
364 #if defined(ENABLE_EXTENSIONS) 369 #if defined(ENABLE_EXTENSIONS)
365 return extension_event_router_forwarder_; 370 return extension_event_router_forwarder_;
366 #else 371 #else
367 return NULL; 372 return NULL;
368 #endif 373 #endif
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 bool is_quic_allowed_by_policy_; 603 bool is_quic_allowed_by_policy_;
599 604
600 const base::TimeTicks creation_time_; 605 const base::TimeTicks creation_time_;
601 606
602 base::WeakPtrFactory<IOThread> weak_factory_; 607 base::WeakPtrFactory<IOThread> weak_factory_;
603 608
604 DISALLOW_COPY_AND_ASSIGN(IOThread); 609 DISALLOW_COPY_AND_ASSIGN(IOThread);
605 }; 610 };
606 611
607 #endif // CHROME_BROWSER_IO_THREAD_H_ 612 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698