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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 1869783004: Disable SPDY/3.1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify NetworkSessionConfiguratorTest.Defaults. Created 4 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/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context_builder.cc » ('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 d871236e5bae4a80883d03b6a9b3330c43b17cef..97784588cc45ef56a05d0f74229b31cbc03c3308 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -344,6 +344,7 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
enable_user_alternate_protocol_ports(false),
enable_npn(true),
enable_priority_dependencies(true),
+ enable_spdy31(true),
enable_quic(false),
protocol(protocol),
session_max_recv_window_size(
@@ -382,6 +383,7 @@ SpdySessionDependencies::SpdySessionDependencies(
enable_user_alternate_protocol_ports(false),
enable_npn(true),
enable_priority_dependencies(true),
+ enable_spdy31(true),
enable_quic(false),
protocol(protocol),
session_max_recv_window_size(
@@ -432,6 +434,7 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.enable_npn = session_deps->enable_npn;
params.enable_priority_dependencies =
session_deps->enable_priority_dependencies;
+ params.enable_spdy31 = session_deps->enable_spdy31;
params.enable_quic = session_deps->enable_quic;
params.spdy_default_protocol = session_deps->protocol;
params.spdy_session_max_recv_window_size =
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698