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

Unified Diff: net/tools/quic/quic_client.cc

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linus_tsan error - reverted the change to ConnectionMigrationClientPortChanged unitttest Created 6 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
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index f2802a25334aa7beab15b552e8d7c93efc572742..1bee994cad51454bc60a35e81618173d6559c218 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -35,8 +35,7 @@ const int kEpollFlags = EPOLLIN | EPOLLOUT | EPOLLET;
QuicClient::QuicClient(IPEndPoint server_address,
const QuicServerId& server_id,
const QuicVersionVector& supported_versions,
- bool print_response,
- uint32 initial_flow_control_window)
+ bool print_response)
: server_address_(server_address),
server_id_(server_id),
local_port_(0),
@@ -46,16 +45,15 @@ QuicClient::QuicClient(IPEndPoint server_address,
packets_dropped_(0),
overflow_supported_(false),
supported_versions_(supported_versions),
- print_response_(print_response),
- initial_flow_control_window_(initial_flow_control_window) {
+ print_response_(print_response) {
config_.SetDefaults();
}
QuicClient::QuicClient(IPEndPoint server_address,
const QuicServerId& server_id,
- const QuicConfig& config,
const QuicVersionVector& supported_versions,
- uint32 initial_flow_control_window)
+ bool print_response,
+ const QuicConfig& config)
: server_address_(server_address),
server_id_(server_id),
config_(config),
@@ -66,8 +64,7 @@ QuicClient::QuicClient(IPEndPoint server_address,
packets_dropped_(0),
overflow_supported_(false),
supported_versions_(supported_versions),
- print_response_(false),
- initial_flow_control_window_(initial_flow_control_window) {
+ print_response_(print_response) {
}
QuicClient::~QuicClient() {
@@ -190,7 +187,6 @@ bool QuicClient::StartConnect() {
config_,
new QuicConnection(GenerateConnectionId(), server_address_, helper_.get(),
writer_.get(), false, supported_versions_),
- initial_flow_control_window_,
&crypto_config_));
return session_->CryptoConnect();
}
@@ -223,7 +219,7 @@ void QuicClient::SendRequestsAndWaitForResponse(
stream->set_visitor(this);
}
- while (WaitForEvents()) { }
+ while (WaitForEvents()) {}
}
QuicSpdyClientStream* QuicClient::CreateReliableClientStream() {
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698