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

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

Issue 1807033002: Don't copy the QuicAckFrame into the QuicPacketGenerator. Protected by quic_dont_copy_acks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116794514
Patch Set: Created 4 years, 9 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 bool OnGoAwayFrame(const QuicGoAwayFrame& frame) override; 452 bool OnGoAwayFrame(const QuicGoAwayFrame& frame) override;
453 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; 453 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override;
454 bool OnBlockedFrame(const QuicBlockedFrame& frame) override; 454 bool OnBlockedFrame(const QuicBlockedFrame& frame) override;
455 bool OnPathCloseFrame(const QuicPathCloseFrame& frame) override; 455 bool OnPathCloseFrame(const QuicPathCloseFrame& frame) override;
456 void OnPacketComplete() override; 456 void OnPacketComplete() override;
457 457
458 // QuicPacketGenerator::DelegateInterface 458 // QuicPacketGenerator::DelegateInterface
459 bool ShouldGeneratePacket(HasRetransmittableData retransmittable, 459 bool ShouldGeneratePacket(HasRetransmittableData retransmittable,
460 IsHandshake handshake) override; 460 IsHandshake handshake) override;
461 void PopulateAckFrame(QuicAckFrame* ack) override; 461 void PopulateAckFrame(QuicAckFrame* ack) override;
462 const QuicFrame GetUpdatedAckFrame() override;
462 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override; 463 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override;
463 464
464 // QuicPacketCreator::DelegateInterface 465 // QuicPacketCreator::DelegateInterface
465 void OnSerializedPacket(SerializedPacket* packet) override; 466 void OnSerializedPacket(SerializedPacket* packet) override;
466 void OnUnrecoverableError(QuicErrorCode error, 467 void OnUnrecoverableError(QuicErrorCode error,
467 ConnectionCloseSource source) override; 468 ConnectionCloseSource source) override;
468 469
469 // QuicSentPacketManager::NetworkChangeVisitor 470 // QuicSentPacketManager::NetworkChangeVisitor
470 void OnCongestionWindowChange() override; 471 void OnCongestionWindowChange() override;
471 void OnRttChange() override; 472 void OnRttChange() override;
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 1050
1050 // If true, multipath is enabled for this connection. 1051 // If true, multipath is enabled for this connection.
1051 bool multipath_enabled_; 1052 bool multipath_enabled_;
1052 1053
1053 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 1054 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
1054 }; 1055 };
1055 1056
1056 } // namespace net 1057 } // namespace net
1057 1058
1058 #endif // NET_QUIC_QUIC_CONNECTION_H_ 1059 #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