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

Side by Side Diff: net/tools/quic/test_tools/simple_client.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/tools/quic/test_tools/simple_client.h" 5 #include "net/tools/quic/test_tools/simple_client.h"
6 6
7 namespace net { 7 namespace net {
8 namespace tools { 8 namespace tools {
9 namespace test { 9 namespace test {
10 10
11 void SimpleClient::WaitForResponse() { 11 void SimpleClient::WaitForResponse() {
12 WaitForResponseForMs(-1); 12 WaitForResponseForMs(-1);
13 } 13 }
14 14
15 // Waits for some data or response from the server. 15 // Waits for some data or response from the server.
16 void SimpleClient::WaitForInitialResponse() { 16 void SimpleClient::WaitForInitialResponse() {
17 WaitForInitialResponseForMs(-1); 17 WaitForInitialResponseForMs(-1);
18 } 18 }
19 19
20 int SimpleClient::ResetSocket() { 20 int SimpleClient::ResetSocket() {
21 LOG(FATAL) << "SimpleClient::ResetSocket is not implemented"; 21 LOG(FATAL) << "SimpleClient::ResetSocket is not implemented";
22 return 0; 22 return 0;
23 } 23 }
24 24
25 int SimpleClient::HalfClose() { 25 int SimpleClient::HalfClose() {
26 LOG(FATAL) << "SimpleClient::HalfClose is not implemented"; 26 LOG(FATAL) << "SimpleClient::HalfClose is not implemented";
27 return 0; 27 return 0;
28 } 28 }
29 29
30 int SimpleClient::response_header_size() const { return 0; } 30 int SimpleClient::response_header_size() const {
31 return 0;
32 }
31 33
32 int64 SimpleClient::response_body_size() const { return 0; } 34 int64 SimpleClient::response_body_size() const {
35 return 0;
36 }
33 37
34 } // namespace net 38 } // namespace net
35 } // namespace tools 39 } // namespace tools
36 } // namespace test 40 } // namespace test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698