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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_stream_unittest.cc ('k') | net/ssl/openssl_platform_key_mac.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 9543e64260b56c1363934a0d4d806834594c638b..f0765a091f8192e9fd304e19794b19206f1d58dd 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -367,7 +367,8 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
enable_ping(false),
enable_user_alternate_protocol_ports(false),
protocol(protocol),
- stream_initial_recv_window_size(kSpdyStreamInitialWindowSize),
+ stream_initial_recv_window_size(
+ SpdySession::GetInitialWindowSize(protocol)),
time_func(&base::TimeTicks::Now),
force_spdy_over_ssl(false),
force_spdy_always(false),
@@ -384,8 +385,8 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
host_resolver->set_synchronous_mode(true);
}
-SpdySessionDependencies::SpdySessionDependencies(
- NextProto protocol, ProxyService* proxy_service)
+SpdySessionDependencies::SpdySessionDependencies(NextProto protocol,
+ ProxyService* proxy_service)
: host_resolver(new MockHostResolver),
cert_verifier(new MockCertVerifier),
transport_security_state(new TransportSecurityState),
@@ -400,7 +401,8 @@ SpdySessionDependencies::SpdySessionDependencies(
enable_ping(false),
enable_user_alternate_protocol_ports(false),
protocol(protocol),
- stream_initial_recv_window_size(kSpdyStreamInitialWindowSize),
+ stream_initial_recv_window_size(
+ SpdySession::GetInitialWindowSize(protocol)),
time_func(&base::TimeTicks::Now),
force_spdy_over_ssl(false),
force_spdy_always(false),
« no previous file with comments | « net/spdy/spdy_stream_unittest.cc ('k') | net/ssl/openssl_platform_key_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698