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

Side by Side Diff: net/tools/quic/test_tools/quic_test_client.h

Issue 1343093003: Landing Recent QUIC changes until 9/2/2015 17:00 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT Created 5 years, 3 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
« no previous file with comments | « net/tools/quic/quic_socket_utils.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 size_t bytes_written() const override; 125 size_t bytes_written() const override;
126 bool buffer_body() const override; 126 bool buffer_body() const override;
127 void set_buffer_body(bool buffer_body) override; 127 void set_buffer_body(bool buffer_body) override;
128 bool ServerInLameDuckMode() const override; 128 bool ServerInLameDuckMode() const override;
129 const std::string& response_body() override; 129 const std::string& response_body() override;
130 bool connected() const override; 130 bool connected() const override;
131 // These functions are all unimplemented functions from SimpleClient, and log 131 // These functions are all unimplemented functions from SimpleClient, and log
132 // DFATAL if called by users of SimpleClient. 132 // DFATAL if called by users of SimpleClient.
133 ssize_t SendAndWaitForResponse(const void* buffer, size_t size) override; 133 ssize_t SendAndWaitForResponse(const void* buffer, size_t size) override;
134 void Bind(IPEndPoint* local_address) override; 134 void Bind(IPEndPoint* local_address) override;
135 void MigrateSocket(const IPAddressNumber& new_host) override;
135 std::string SerializeMessage(const HTTPMessage& message) override; 136 std::string SerializeMessage(const HTTPMessage& message) override;
136 IPAddressNumber bind_to_address() const override; 137 IPAddressNumber bind_to_address() const override;
137 void set_bind_to_address(IPAddressNumber address) override; 138 void set_bind_to_address(IPAddressNumber address) override;
138 const IPEndPoint& address() const override; 139 const IPEndPoint& address() const override;
139 size_t requests_sent() const override; 140 size_t requests_sent() const override;
140 141
141 // From QuicDataStream::Visitor 142 // From QuicDataStream::Visitor
142 void OnClose(QuicDataStream* stream) override; 143 void OnClose(QuicDataStream* stream) override;
143 144
144 // Configures client_ to take ownership of and use the writer. 145 // Configures client_ to take ownership of and use the writer.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 250
250 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); 251 DISALLOW_COPY_AND_ASSIGN(QuicTestClient);
251 }; 252 };
252 253
253 } // namespace test 254 } // namespace test
254 255
255 } // namespace tools 256 } // namespace tools
256 } // namespace net 257 } // namespace net
257 258
258 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 259 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_socket_utils.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698