summaryrefslogtreecommitdiffstats
path: root/net/tools/quic/test_tools/simple_client.cc
blob: 46f5b9d6877ae09555cc9ffccb474c3448f5af87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 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; }

int64 SimpleClient::response_body_size() const { return 0; }

}  // namespace net
}  // namespace tools
}  // namespace test