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

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

Issue 1981643002: Combine OnCongestionWindowChange and OnRttChange to OnCongestionChange in QuicSentPacketManager::Ne… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121732198
Patch Set: Created 4 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
« 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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 const QuicFrame GetUpdatedAckFrame() override; 454 const QuicFrame GetUpdatedAckFrame() override;
455 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override; 455 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override;
456 456
457 // QuicPacketCreator::DelegateInterface 457 // QuicPacketCreator::DelegateInterface
458 void OnSerializedPacket(SerializedPacket* packet) override; 458 void OnSerializedPacket(SerializedPacket* packet) override;
459 void OnUnrecoverableError(QuicErrorCode error, 459 void OnUnrecoverableError(QuicErrorCode error,
460 const std::string& error_details, 460 const std::string& error_details,
461 ConnectionCloseSource source) override; 461 ConnectionCloseSource source) override;
462 462
463 // QuicSentPacketManager::NetworkChangeVisitor 463 // QuicSentPacketManager::NetworkChangeVisitor
464 void OnCongestionWindowChange() override; 464 void OnCongestionChange() override;
465 void OnRttChange() override;
466 void OnPathDegrading() override; 465 void OnPathDegrading() override;
467 466
468 // 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
469 // 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
470 // the SHLO. 469 // the SHLO.
471 void OnHandshakeComplete(); 470 void OnHandshakeComplete();
472 471
473 // Accessors 472 // Accessors
474 void set_visitor(QuicConnectionVisitorInterface* visitor) { 473 void set_visitor(QuicConnectionVisitorInterface* visitor) {
475 visitor_ = visitor; 474 visitor_ = visitor;
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 1058
1060 // If true, multipath is enabled for this connection. 1059 // If true, multipath is enabled for this connection.
1061 bool multipath_enabled_; 1060 bool multipath_enabled_;
1062 1061
1063 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 1062 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
1064 }; 1063 };
1065 1064
1066 } // namespace net 1065 } // namespace net
1067 1066
1068 #endif // NET_QUIC_QUIC_CONNECTION_H_ 1067 #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