1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/tools/quic/test_tools/simple_client.h" 6 7 namespace net { 8 namespace tools { 9 namespace test { 10 11 void SimpleClient::WaitForResponse() { 12 WaitForResponseForMs(-1); 13 } 14 15 // Waits for some data or response from the server. 16 void SimpleClient::WaitForInitialResponse() { 17 WaitForInitialResponseForMs(-1); 18 } 19 20 int SimpleClient::ResetSocket() { 21 LOG(FATAL) << "SimpleClient::ResetSocket is not implemented"; 22 return 0; 23 } 24 25 int SimpleClient::HalfClose() { 26 LOG(FATAL) << "SimpleClient::HalfClose is not implemented"; 27 return 0; 28 } 29 30 int SimpleClient::response_header_size() const { return 0; } 31 32 int64 SimpleClient::response_body_size() const { return 0; } 33 34 } // namespace net 35 } // namespace tools 36 } // namespace test 37