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

Unified Diff: net/http/http_network_session.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: Change command line flag. 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_server_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 4ff037b25b54aa97d50f3c621b541b52d3e4e64a..ad1068bee3b4ca8db39e2391dfb4291b31b5a9ba 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -83,7 +83,7 @@ HttpNetworkSession::Params::Params()
spdy_max_concurrent_streams_limit(0),
time_func(&base::TimeTicks::Now),
use_alternate_protocols(false),
- alternate_protocol_probability_threshold(1),
+ alternative_service_probability_threshold(1),
enable_quic(false),
enable_quic_for_proxies(false),
enable_quic_port_selection(true),
@@ -196,8 +196,8 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
}
}
- http_server_properties_->SetAlternateProtocolProbabilityThreshold(
- params.alternate_protocol_probability_threshold);
+ http_server_properties_->SetAlternativeServiceProbabilityThreshold(
+ params.alternative_service_probability_threshold);
}
HttpNetworkSession::~HttpNetworkSession() {
@@ -271,8 +271,8 @@ base::Value* HttpNetworkSession::QuicInfoToValue() const {
dict->Set("connection_options", connection_options);
dict->SetString("origin_to_force_quic_on",
params_.origin_to_force_quic_on.ToString());
- dict->SetDouble("alternate_protocol_probability_threshold",
- params_.alternate_protocol_probability_threshold);
+ dict->SetDouble("alternative_service_probability_threshold",
+ params_.alternative_service_probability_threshold);
return dict;
}
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698