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

Side by Side Diff: net/quic/quic_connection.h

Issue 286563003: Remove unused IsHandshake argument to QuicConnection::OnCanWrite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/quic/quic_connection.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 // The entity that handles framing writes for a Quic client or server. 5 // The entity that handles framing writes for a Quic client or server.
6 // Each QuicSession will have a connection associated with it. 6 // Each QuicSession will have a connection associated with it.
7 // 7 //
8 // On the server side, the Dispatcher handles the raw reads, and hands off 8 // On the server side, the Dispatcher handles the raw reads, and hands off
9 // packets via ProcessUdpPacket for framing and processing. 9 // packets via ProcessUdpPacket for framing and processing.
10 // 10 //
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 const QuicDecrypter* alternative_decrypter() const; 451 const QuicDecrypter* alternative_decrypter() const;
452 452
453 bool is_server() const { return is_server_; } 453 bool is_server() const { return is_server_; }
454 454
455 // Returns the underlying sent packet manager. 455 // Returns the underlying sent packet manager.
456 const QuicSentPacketManager& sent_packet_manager() const { 456 const QuicSentPacketManager& sent_packet_manager() const {
457 return sent_packet_manager_; 457 return sent_packet_manager_;
458 } 458 }
459 459
460 bool CanWrite(TransmissionType transmission_type, 460 bool CanWrite(TransmissionType transmission_type,
461 HasRetransmittableData retransmittable, 461 HasRetransmittableData retransmittable);
462 IsHandshake handshake);
463 462
464 uint32 max_flow_control_receive_window_bytes() const { 463 uint32 max_flow_control_receive_window_bytes() const {
465 return max_flow_control_receive_window_bytes_; 464 return max_flow_control_receive_window_bytes_;
466 } 465 }
467 466
468 // Stores current batch state for connection, puts the connection 467 // Stores current batch state for connection, puts the connection
469 // into batch mode, and destruction restores the stored batch state. 468 // into batch mode, and destruction restores the stored batch state.
470 // While the bundler is in scope, any generated frames are bundled 469 // While the bundler is in scope, any generated frames are bundled
471 // as densely as possible into packets. In addition, this bundler 470 // as densely as possible into packets. In addition, this bundler
472 // can be configured to ensure that an ACK frame is included in the 471 // can be configured to ensure that an ACK frame is included in the
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 765
767 // Used for connection level flow control. 766 // Used for connection level flow control.
768 scoped_ptr<QuicFlowController> flow_controller_; 767 scoped_ptr<QuicFlowController> flow_controller_;
769 768
770 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 769 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
771 }; 770 };
772 771
773 } // namespace net 772 } // namespace net
774 773
775 #endif // NET_QUIC_QUIC_CONNECTION_H_ 774 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698