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

Unified Diff: components/cronet/android/url_request_context_adapter.cc

Issue 1091283007: Rename methods and members and const variables to alternative service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #4. Created 5 years, 8 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: components/cronet/android/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 45ed5fb85ec53dd3910ebdd2f1367075c707d01e..9d21b598de74784e8b228dad1f9fdf11ec2e9ee1 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -154,7 +154,7 @@ void URLRequestContextAdapter::InitRequestContextOnNetworkThread() {
// Currently (circa M39) enabling QUIC requires setting probability threshold.
if (config_->enable_quic) {
context_->http_server_properties()
- ->SetAlternateProtocolProbabilityThreshold(0.0f);
+ ->SetAlternativeServiceProbabilityThreshold(0.0f);
for (size_t hint = 0; hint < config_->quic_hints.size(); ++hint) {
const URLRequestContextConfig::QuicHint& quic_hint =
*config_->quic_hints[hint];

Powered by Google App Engine
This is Rietveld 408576698