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

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

Issue 1714713002: Landing Recent QUIC changes until 2/12/2016 21:32 UTC (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_packet_generator.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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // The helper used for all connections. 233 // The helper used for all connections.
234 scoped_ptr<QuicConnectionHelperInterface> helper_; 234 scoped_ptr<QuicConnectionHelperInterface> helper_;
235 235
236 // An alarm which deletes closed sessions. 236 // An alarm which deletes closed sessions.
237 scoped_ptr<QuicAlarm> delete_sessions_alarm_; 237 scoped_ptr<QuicAlarm> delete_sessions_alarm_;
238 238
239 // The writer to write to the socket with. 239 // The writer to write to the socket with.
240 scoped_ptr<QuicPacketWriter> writer_; 240 scoped_ptr<QuicPacketWriter> writer_;
241 241
242 // A per-connection writer that is passed to the time wait list manager.
243 // TODO(jdorfman): Remove this when deprecating
244 // FLAGS_quic_time_wait_list_manager_use_shared_writer.
245 scoped_ptr<QuicPacketWriter> time_wait_list_writer_;
246
247 // This vector contains QUIC versions which we currently support. 242 // This vector contains QUIC versions which we currently support.
248 // This should be ordered such that the highest supported version is the first 243 // This should be ordered such that the highest supported version is the first
249 // element, with subsequent elements in descending order (versions can be 244 // element, with subsequent elements in descending order (versions can be
250 // skipped as necessary). 245 // skipped as necessary).
251 const QuicVersionVector supported_versions_; 246 const QuicVersionVector supported_versions_;
252 247
253 // Information about the packet currently being handled. 248 // Information about the packet currently being handled.
254 IPEndPoint current_client_address_; 249 IPEndPoint current_client_address_;
255 IPEndPoint current_server_address_; 250 IPEndPoint current_server_address_;
256 const QuicEncryptedPacket* current_packet_; 251 const QuicEncryptedPacket* current_packet_;
257 252
258 QuicFramer framer_; 253 QuicFramer framer_;
259 254
260 // The last error set by SetLastError(), which is called by 255 // The last error set by SetLastError(), which is called by
261 // framer_visitor_->OnError(). 256 // framer_visitor_->OnError().
262 QuicErrorCode last_error_; 257 QuicErrorCode last_error_;
263 258
264 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 259 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
265 }; 260 };
266 261
267 } // namespace net 262 } // namespace net
268 263
269 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 264 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698