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

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

Issue 1716453002: relnote: Make QUIC version negotiation stateless. The QUIC dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/quic/quic_flags.cc ('k') | net/tools/quic/quic_dispatcher.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 server side dispatcher which dispatches a given client's data to their 5 // A server side dispatcher which dispatches a given client's data to their
6 // stream. 6 // stream.
7 7
8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // This vector contains QUIC versions which we currently support. 247 // This vector contains QUIC versions which we currently support.
248 // This should be ordered such that the highest supported version is the first 248 // This should be ordered such that the highest supported version is the first
249 // element, with subsequent elements in descending order (versions can be 249 // element, with subsequent elements in descending order (versions can be
250 // skipped as necessary). 250 // skipped as necessary).
251 const QuicVersionVector supported_versions_; 251 const QuicVersionVector supported_versions_;
252 252
253 // Information about the packet currently being handled. 253 // Information about the packet currently being handled.
254 IPEndPoint current_client_address_; 254 IPEndPoint current_client_address_;
255 IPEndPoint current_server_address_; 255 IPEndPoint current_server_address_;
256 const QuicEncryptedPacket* current_packet_; 256 const QuicEncryptedPacket* current_packet_;
257 QuicConnectionId current_connection_id_;
257 258
258 QuicFramer framer_; 259 QuicFramer framer_;
259 260
260 // The last error set by SetLastError(), which is called by 261 // The last error set by SetLastError(), which is called by
261 // framer_visitor_->OnError(). 262 // framer_visitor_->OnError().
262 QuicErrorCode last_error_; 263 QuicErrorCode last_error_;
263 264
264 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 265 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
265 }; 266 };
266 267
267 } // namespace net 268 } // namespace net
268 269
269 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 270 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698