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

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

Issue 286693003: QUIC - cleanup changes per comments for CL's 279453004, 283693002 (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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 746
747 // Set to true if the UDP packet headers have a new port for the peer. 747 // Set to true if the UDP packet headers have a new port for the peer.
748 // If true, and the IP has not changed, then we can migrate the connection. 748 // If true, and the IP has not changed, then we can migrate the connection.
749 bool peer_port_changed_; 749 bool peer_port_changed_;
750 750
751 // Set to true if the UDP packet headers are addressed to a different IP. 751 // Set to true if the UDP packet headers are addressed to a different IP.
752 // We do not support connection migration when the self IP changed. 752 // We do not support connection migration when the self IP changed.
753 bool self_ip_changed_; 753 bool self_ip_changed_;
754 754
755 // Set to true if the UDP packet headers are addressed to a different port. 755 // Set to true if the UDP packet headers are addressed to a different port.
756 // If true, and the IP has not changed, then we can migrate the connection. 756 // We do not support connection migration when the self port changed.
757 bool self_port_changed_; 757 bool self_port_changed_;
758 758
759 // If non-empty this contains the set of versions received in a 759 // If non-empty this contains the set of versions received in a
760 // version negotiation packet. 760 // version negotiation packet.
761 QuicVersionVector server_supported_versions_; 761 QuicVersionVector server_supported_versions_;
762 762
763 // Initial flow control receive window size for new streams. 763 // Initial flow control receive window size for new streams.
764 uint32 max_flow_control_receive_window_bytes_; 764 uint32 max_flow_control_receive_window_bytes_;
765 765
766 // Used for connection level flow control. 766 // Used for connection level flow control.
767 scoped_ptr<QuicFlowController> flow_controller_; 767 scoped_ptr<QuicFlowController> flow_controller_;
768 768
769 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 769 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
770 }; 770 };
771 771
772 } // namespace net 772 } // namespace net
773 773
774 #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