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

Side by Side Diff: net/tools/quic/quic_client.h

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix Created 5 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
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_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 // A toy client, which connects to a specified port and sends QUIC 5 // A toy client, which connects to a specified port and sends QUIC
6 // request to that endpoint. 6 // request to that endpoint.
7 7
8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_
9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_ 9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 private: 73 private:
74 DISALLOW_COPY_AND_ASSIGN(QuicDataToResend); 74 DISALLOW_COPY_AND_ASSIGN(QuicDataToResend);
75 }; 75 };
76 76
77 // Create a quic client, which will have events managed by an externally owned 77 // Create a quic client, which will have events managed by an externally owned
78 // EpollServer. 78 // EpollServer.
79 QuicClient(IPEndPoint server_address, 79 QuicClient(IPEndPoint server_address,
80 const QuicServerId& server_id, 80 const QuicServerId& server_id,
81 const QuicVersionVector& supported_versions, 81 const QuicVersionVector& supported_versions,
82 EpollServer* epoll_server); 82 EpollServer* epoll_server,
83 ProofVerifier* proof_verifier);
83 QuicClient(IPEndPoint server_address, 84 QuicClient(IPEndPoint server_address,
84 const QuicServerId& server_id, 85 const QuicServerId& server_id,
85 const QuicVersionVector& supported_versions, 86 const QuicVersionVector& supported_versions,
86 const QuicConfig& config, 87 const QuicConfig& config,
87 EpollServer* epoll_server); 88 EpollServer* epoll_server,
89 ProofVerifier* proof_verifier);
88 90
89 ~QuicClient() override; 91 ~QuicClient() override;
90 92
91 // From QuicClientBase 93 // From QuicClientBase
92 bool Initialize() override; 94 bool Initialize() override;
93 bool WaitForEvents() override; 95 bool WaitForEvents() override;
94 96
95 // "Connect" to the QUIC server, including performing synchronous crypto 97 // "Connect" to the QUIC server, including performing synchronous crypto
96 // handshake. 98 // handshake.
97 bool Connect(); 99 bool Connect();
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // must be resent upon a subsequent successful connection. 266 // must be resent upon a subsequent successful connection.
265 std::vector<QuicDataToResend*> data_to_resend_on_connect_; 267 std::vector<QuicDataToResend*> data_to_resend_on_connect_;
266 268
267 DISALLOW_COPY_AND_ASSIGN(QuicClient); 269 DISALLOW_COPY_AND_ASSIGN(QuicClient);
268 }; 270 };
269 271
270 } // namespace tools 272 } // namespace tools
271 } // namespace net 273 } // namespace net
272 274
273 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ 275 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698