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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 1268313004: s/use_alternate_protocols/use_alternative_services/g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #15. Created 5 years, 4 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/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index a23b357dcf362feca86cc3c23a5e0456cb45c3ad..456a7d161482b8a0838f2856bbe1296854ff3eea 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -374,7 +374,7 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
stream_max_recv_window_size(
SpdySession::GetDefaultInitialWindowSize(protocol)),
time_func(&base::TimeTicks::Now),
- use_alternate_protocols(false),
+ use_alternative_services(false),
net_log(NULL) {
DCHECK(next_proto_is_spdy(protocol)) << "Invalid protocol: " << protocol;
@@ -408,7 +408,7 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol,
stream_max_recv_window_size(
SpdySession::GetDefaultInitialWindowSize(protocol)),
time_func(&base::TimeTicks::Now),
- use_alternate_protocols(false),
+ use_alternative_services(true),
net_log(NULL) {
DCHECK(next_proto_is_spdy(protocol)) << "Invalid protocol: " << protocol;
}
@@ -467,7 +467,7 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.time_func = session_deps->time_func;
params.next_protos = session_deps->next_protos;
params.trusted_spdy_proxy = session_deps->trusted_spdy_proxy;
- params.use_alternate_protocols = session_deps->use_alternate_protocols;
+ params.use_alternative_services = session_deps->use_alternative_services;
params.net_log = session_deps->net_log;
return params;
}
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698