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

Unified Diff: ios/chrome/browser/ios_chrome_io_thread.h

Issue 1802893002: Revert of Remove support for Alt-Svc/Alternate Protocol Probability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ios_chrome_io_thread.h
diff --git a/ios/chrome/browser/ios_chrome_io_thread.h b/ios/chrome/browser/ios_chrome_io_thread.h
index 58017133956be905543b191b5ce4a72acacc48bf..67faf2d0556271fd4b91b52ab577669e2a813648 100644
--- a/ios/chrome/browser/ios_chrome_io_thread.h
+++ b/ios/chrome/browser/ios_chrome_io_thread.h
@@ -138,6 +138,7 @@
Optional<bool> enable_http2;
Optional<bool> parse_alternative_services;
Optional<bool> enable_alternative_service_with_different_host;
+ Optional<double> alternative_service_probability_threshold;
Optional<bool> enable_npn;
@@ -349,6 +350,11 @@
static net::QuicTagVector GetQuicConnectionOptions(
const VariationParameters& quic_trial_params);
+ // Returns the alternative service probability threshold specified by
+ // any flags in |quic_trial_params|.
+ static double GetAlternativeProtocolProbabilityThreshold(
+ const VariationParameters& quic_trial_params);
+
static net::URLRequestContext* ConstructSystemRequestContext(
Globals* globals,
net::NetLog* net_log);
« no previous file with comments | « components/cronet/android/url_request_context_adapter.cc ('k') | ios/chrome/browser/ios_chrome_io_thread.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698