• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
WaitForResponse()11 void SimpleClient::WaitForResponse() {
12   WaitForResponseForMs(-1);
13 }
14 
15 // Waits for some data or response from the server.
WaitForInitialResponse()16 void SimpleClient::WaitForInitialResponse() {
17   WaitForInitialResponseForMs(-1);
18 }
19 
ResetSocket()20 int SimpleClient::ResetSocket() {
21   LOG(FATAL) << "SimpleClient::ResetSocket is not implemented";
22   return 0;
23 }
24 
HalfClose()25 int SimpleClient::HalfClose() {
26   LOG(FATAL) << "SimpleClient::HalfClose is not implemented";
27   return 0;
28 }
29 
response_header_size() const30 int SimpleClient::response_header_size() const { return 0; }
31 
response_body_size() const32 int64 SimpleClient::response_body_size() const { return 0; }
33 
34 }  // namespace net
35 }  // namespace tools
36 }  // namespace test
37