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

Unified Diff: net/tools/quic/test_tools/simple_client.cc

Issue 216553008: Sync various changes to QuicTestClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE Created 6 years, 9 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/test_tools/simple_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/simple_client.cc
diff --git a/net/tools/quic/test_tools/simple_client.cc b/net/tools/quic/test_tools/simple_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..62b43fb5a68b881d9524a79b4e823bca4549ad06
--- /dev/null
+++ b/net/tools/quic/test_tools/simple_client.cc
@@ -0,0 +1,36 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/tools/quic/test_tools/simple_client.h"
+
+namespace net {
+namespace tools {
+namespace test {
+
+void SimpleClient::WaitForResponse() {
+ WaitForResponseForMs(-1);
+}
+
+// Waits for some data or response from the server.
+void SimpleClient::WaitForInitialResponse() {
+ WaitForInitialResponseForMs(-1);
+}
+
+int SimpleClient::ResetSocket() {
+ LOG(FATAL) << "SimpleClient::ResetSocket is not implemented";
+ return 0;
+}
+
+int SimpleClient::HalfClose() {
+ LOG(FATAL) << "SimpleClient::HalfClose is not implemented";
+ return 0;
+}
+
+int SimpleClient::response_header_size() const { return 0; }
+
+int SimpleClient::response_body_size() const { return 0; }
+
+} // namespace net
+} // namespace tools
+} // namespace test
« no previous file with comments | « net/tools/quic/test_tools/simple_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698