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

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

Issue 2403193003: Landing Recent QUIC changes until 9:41 AM, Oct 10, 2016 UTC-7 (Closed)
Patch Set: git cl format Created 4 years, 2 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void SendRequestsAndWaitForResponses( 133 void SendRequestsAndWaitForResponses(
134 const std::vector<std::string>& url_list); 134 const std::vector<std::string>& url_list);
135 ssize_t SendMessage(const HTTPMessage& message) override; 135 ssize_t SendMessage(const HTTPMessage& message) override;
136 std::string SendCustomSynchronousRequest(const HTTPMessage& message) override; 136 std::string SendCustomSynchronousRequest(const HTTPMessage& message) override;
137 std::string SendSynchronousRequest(const std::string& uri) override; 137 std::string SendSynchronousRequest(const std::string& uri) override;
138 void Connect() override; 138 void Connect() override;
139 void ResetConnection() override; 139 void ResetConnection() override;
140 void Disconnect() override; 140 void Disconnect() override;
141 IPEndPoint local_address() const override; 141 IPEndPoint local_address() const override;
142 void ClearPerRequestState() override; 142 void ClearPerRequestState() override;
143 void WaitUntil(int timeout_ms, std::function<bool()> trigger) override; 143 bool WaitUntil(int timeout_ms, std::function<bool()> trigger) override;
144 ssize_t Send(const void* buffer, size_t size) override; 144 ssize_t Send(const void* buffer, size_t size) override;
145 bool response_complete() const override; 145 bool response_complete() const override;
146 bool response_headers_complete() const override; 146 bool response_headers_complete() const override;
147 const BalsaHeaders* response_headers() const override; 147 const BalsaHeaders* response_headers() const override;
148 int64_t response_size() const override; 148 int64_t response_size() const override;
149 int response_header_size() const override; 149 int response_header_size() const override;
150 int64_t response_body_size() const override; 150 int64_t response_body_size() const override;
151 size_t bytes_read() const override; 151 size_t bytes_read() const override;
152 size_t bytes_written() const override; 152 size_t bytes_written() const override;
153 bool buffer_body() const override; 153 bool buffer_body() const override;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 std::string override_sni_; 323 std::string override_sni_;
324 324
325 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); 325 DISALLOW_COPY_AND_ASSIGN(QuicTestClient);
326 }; 326 };
327 327
328 } // namespace test 328 } // namespace test
329 329
330 } // namespace net 330 } // namespace net
331 331
332 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 332 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/packet_dropping_test_writer.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