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

Side by Side Diff: net/tools/quic/quic_simple_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/quic_server_test.cc ('k') | net/tools/quic/quic_simple_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_SIMPLE_CLIENT_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_
9 #define NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ 9 #define NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool fin_; 74 bool fin_;
75 75
76 private: 76 private:
77 DISALLOW_COPY_AND_ASSIGN(QuicDataToResend); 77 DISALLOW_COPY_AND_ASSIGN(QuicDataToResend);
78 }; 78 };
79 79
80 // Create a quic client, which will have events managed by an externally owned 80 // Create a quic client, which will have events managed by an externally owned
81 // EpollServer. 81 // EpollServer.
82 QuicSimpleClient(IPEndPoint server_address, 82 QuicSimpleClient(IPEndPoint server_address,
83 const QuicServerId& server_id, 83 const QuicServerId& server_id,
84 const QuicVersionVector& supported_versions); 84 const QuicVersionVector& supported_versions,
85 ProofVerifier* proof_verifier);
85 QuicSimpleClient(IPEndPoint server_address, 86 QuicSimpleClient(IPEndPoint server_address,
86 const QuicServerId& server_id, 87 const QuicServerId& server_id,
87 const QuicVersionVector& supported_versions, 88 const QuicVersionVector& supported_versions,
88 const QuicConfig& config); 89 const QuicConfig& config,
90 ProofVerifier* proof_verifier);
89 91
90 ~QuicSimpleClient() override; 92 ~QuicSimpleClient() override;
91 93
92 // From QuicClientBase 94 // From QuicClientBase
93 bool Initialize() override; 95 bool Initialize() override;
94 bool WaitForEvents() override; 96 bool WaitForEvents() override;
95 QuicConnectionId GenerateNewConnectionId() override; 97 QuicConnectionId GenerateNewConnectionId() override;
96 98
97 // "Connect" to the QUIC server, including performing synchronous crypto 99 // "Connect" to the QUIC server, including performing synchronous crypto
98 // handshake. 100 // handshake.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 261
260 base::WeakPtrFactory<QuicSimpleClient> weak_factory_; 262 base::WeakPtrFactory<QuicSimpleClient> weak_factory_;
261 263
262 DISALLOW_COPY_AND_ASSIGN(QuicSimpleClient); 264 DISALLOW_COPY_AND_ASSIGN(QuicSimpleClient);
263 }; 265 };
264 266
265 } // namespace tools 267 } // namespace tools
266 } // namespace net 268 } // namespace net
267 269
268 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ 270 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server_test.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698