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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2692813002: Server push cancellation: add a finch trial parameter (Closed)
Patch Set: Spin the message loop to ensure the client receives the response Created 3 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/tools/quic/quic_dispatcher.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 a7df8406b60ad04b7683c04ebf5f60020ce25567..6cb1d0c70d094c06fe41855c6de65e96a5ddcbea 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -344,6 +344,7 @@ SpdySessionDependencies::SpdySessionDependencies(
enable_ping(false),
enable_user_alternate_protocol_ports(false),
enable_quic(false),
+ enable_server_push_cancellation(false),
session_max_recv_window_size(kDefaultInitialWindowSize),
time_func(&base::TimeTicks::Now),
enable_http2_alternative_service_with_different_host(false),
@@ -405,6 +406,8 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.enable_user_alternate_protocol_ports =
session_deps->enable_user_alternate_protocol_ports;
params.enable_quic = session_deps->enable_quic;
+ params.enable_server_push_cancellation =
+ session_deps->enable_server_push_cancellation;
params.spdy_session_max_recv_window_size =
session_deps->session_max_recv_window_size;
params.http2_settings = session_deps->http2_settings;
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698