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

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

Issue 2100763003: Replace QUIC's PathMtuAckListener with a non-AckListener approach. Protected by FLAGS_quic_no_mtu_d… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@125674835
Patch Set: Created 4 years, 5 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 | « 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 // QuicPacketCreator::DelegateInterface 456 // QuicPacketCreator::DelegateInterface
457 void OnSerializedPacket(SerializedPacket* packet) override; 457 void OnSerializedPacket(SerializedPacket* packet) override;
458 void OnUnrecoverableError(QuicErrorCode error, 458 void OnUnrecoverableError(QuicErrorCode error,
459 const std::string& error_details, 459 const std::string& error_details,
460 ConnectionCloseSource source) override; 460 ConnectionCloseSource source) override;
461 461
462 // QuicSentPacketManager::NetworkChangeVisitor 462 // QuicSentPacketManager::NetworkChangeVisitor
463 void OnCongestionChange() override; 463 void OnCongestionChange() override;
464 void OnPathDegrading() override; 464 void OnPathDegrading() override;
465 void OnPathMtuIncreased(QuicPacketLength packet_size) override;
465 466
466 // Called by the crypto stream when the handshake completes. In the server's 467 // Called by the crypto stream when the handshake completes. In the server's
467 // case this is when the SHLO has been ACKed. Clients call this on receipt of 468 // case this is when the SHLO has been ACKed. Clients call this on receipt of
468 // the SHLO. 469 // the SHLO.
469 void OnHandshakeComplete(); 470 void OnHandshakeComplete();
470 471
471 // Accessors 472 // Accessors
472 void set_visitor(QuicConnectionVisitorInterface* visitor) { 473 void set_visitor(QuicConnectionVisitorInterface* visitor) {
473 visitor_ = visitor; 474 visitor_ = visitor;
474 } 475 }
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 1067
1067 // If true, multipath is enabled for this connection. 1068 // If true, multipath is enabled for this connection.
1068 bool multipath_enabled_; 1069 bool multipath_enabled_;
1069 1070
1070 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 1071 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
1071 }; 1072 };
1072 1073
1073 } // namespace net 1074 } // namespace net
1074 1075
1075 #endif // NET_QUIC_QUIC_CONNECTION_H_ 1076 #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