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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2089243002: Split enable_alternative_service_with_different_host flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: 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 ae397b758c453e2e5e9984bbd256eeb402129dc0..ee97b7329e34fb874efb2251317dd7fce49516cb 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -364,7 +364,7 @@ SpdySessionDependencies::SpdySessionDependencies(
stream_max_recv_window_size(
SpdySession::GetDefaultInitialWindowSize(protocol)),
time_func(&base::TimeTicks::Now),
- enable_alternative_service_with_different_host(true),
+ enable_http2_alternative_service_with_different_host(false),
net_log(NULL) {
DCHECK(next_proto_is_spdy(protocol)) << "Invalid protocol: " << protocol;
@@ -428,8 +428,8 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
session_deps->stream_max_recv_window_size;
params.time_func = session_deps->time_func;
params.proxy_delegate = session_deps->proxy_delegate.get();
- params.enable_alternative_service_with_different_host =
- session_deps->enable_alternative_service_with_different_host;
+ params.enable_http2_alternative_service_with_different_host =
+ session_deps->enable_http2_alternative_service_with_different_host;
params.net_log = session_deps->net_log;
return params;
}

Powered by Google App Engine
This is Rietveld 408576698