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

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

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 DISALLOW_COPY_AND_ASSIGN(MockableQuicClient); 58 DISALLOW_COPY_AND_ASSIGN(MockableQuicClient);
59 }; 59 };
60 60
61 // A toy QUIC client used for testing, mostly following the SimpleClient APIs. 61 // A toy QUIC client used for testing, mostly following the SimpleClient APIs.
62 class QuicTestClient : public SimpleClient, 62 class QuicTestClient : public SimpleClient,
63 public QuicDataStream::Visitor { 63 public QuicDataStream::Visitor {
64 public: 64 public:
65 QuicTestClient(IPEndPoint server_address, 65 QuicTestClient(IPEndPoint server_address,
66 const string& server_hostname, 66 const string& server_hostname,
67 const QuicVersionVector& supported_versions);
68 QuicTestClient(IPEndPoint server_address,
69 const string& server_hostname,
70 bool secure, 67 bool secure,
71 const QuicVersionVector& supported_versions); 68 const QuicVersionVector& supported_versions);
72 QuicTestClient(IPEndPoint server_address, 69 QuicTestClient(IPEndPoint server_address,
73 const string& server_hostname, 70 const string& server_hostname,
74 bool secure, 71 bool secure,
75 const QuicConfig& config, 72 const QuicConfig& config,
76 const QuicVersionVector& supported_versions); 73 const QuicVersionVector& supported_versions);
77 74
78 ~QuicTestClient() override; 75 ~QuicTestClient() override;
79 76
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 202
206 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); 203 DISALLOW_COPY_AND_ASSIGN(QuicTestClient);
207 }; 204 };
208 205
209 } // namespace test 206 } // namespace test
210 207
211 } // namespace tools 208 } // namespace tools
212 } // namespace net 209 } // namespace net
213 210
214 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 211 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.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