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

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

Issue 1525303003: Remove QuicPacketGenerator::OnSerializedPacket with functionality in QuicPacketCreator. No functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110008813
Patch Set: get newly added files from upstream Created 5 years 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; 427 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override;
428 bool OnBlockedFrame(const QuicBlockedFrame& frame) override; 428 bool OnBlockedFrame(const QuicBlockedFrame& frame) override;
429 void OnFecData(base::StringPiece redundnancy) override; 429 void OnFecData(base::StringPiece redundnancy) override;
430 void OnPacketComplete() override; 430 void OnPacketComplete() override;
431 431
432 // QuicPacketGenerator::DelegateInterface 432 // QuicPacketGenerator::DelegateInterface
433 bool ShouldGeneratePacket(HasRetransmittableData retransmittable, 433 bool ShouldGeneratePacket(HasRetransmittableData retransmittable,
434 IsHandshake handshake) override; 434 IsHandshake handshake) override;
435 void PopulateAckFrame(QuicAckFrame* ack) override; 435 void PopulateAckFrame(QuicAckFrame* ack) override;
436 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override; 436 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override;
437 void OnSerializedPacket(const SerializedPacket& packet) override; 437
438 // QuicPacketCreator::DelegateInterface
439 void OnSerializedPacket(SerializedPacket* packet) override;
438 void OnResetFecGroup() override; 440 void OnResetFecGroup() override;
439 441
440 // QuicSentPacketManager::NetworkChangeVisitor 442 // QuicSentPacketManager::NetworkChangeVisitor
441 void OnCongestionWindowChange() override; 443 void OnCongestionWindowChange() override;
442 void OnRttChange() override; 444 void OnRttChange() override;
443 445
444 // Called by the crypto stream when the handshake completes. In the server's 446 // Called by the crypto stream when the handshake completes. In the server's
445 // case this is when the SHLO has been ACKed. Clients call this on receipt of 447 // case this is when the SHLO has been ACKed. Clients call this on receipt of
446 // the SHLO. 448 // the SHLO.
447 void OnHandshakeComplete(); 449 void OnHandshakeComplete();
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 989
988 // Whether a GoAway has been received. 990 // Whether a GoAway has been received.
989 bool goaway_received_; 991 bool goaway_received_;
990 992
991 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 993 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
992 }; 994 };
993 995
994 } // namespace net 996 } // namespace net
995 997
996 #endif // NET_QUIC_QUIC_CONNECTION_H_ 998 #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