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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 1453903002: Re-enable HTTP/2 over NPN (for OpenSSL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialize |enable_npn| in other SpdySessionDependencies constructor. Created 5 years, 1 month 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') | no next file » | 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 27b81175723788fff3c678bb5b571d5cd1c2db06..8225d0aa7de63483a874ee042e64ee4f8776655e 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -348,6 +348,7 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
enable_compression(false),
enable_ping(false),
enable_user_alternate_protocol_ports(false),
+ enable_npn(true),
protocol(protocol),
session_max_recv_window_size(
SpdySession::GetDefaultInitialWindowSize(protocol)),
@@ -383,6 +384,7 @@ SpdySessionDependencies::SpdySessionDependencies(
enable_compression(false),
enable_ping(false),
enable_user_alternate_protocol_ports(false),
+ enable_npn(true),
protocol(protocol),
session_max_recv_window_size(
SpdySession::GetDefaultInitialWindowSize(protocol)),
@@ -441,6 +443,7 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.enable_spdy_ping_based_connection_checking = session_deps->enable_ping;
params.enable_user_alternate_protocol_ports =
session_deps->enable_user_alternate_protocol_ports;
+ params.enable_npn = session_deps->enable_npn;
params.spdy_default_protocol = session_deps->protocol;
params.spdy_session_max_recv_window_size =
session_deps->session_max_recv_window_size;
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698