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

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

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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 | « net/quic/quic_config_test.cc ('k') | 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 bool ShouldGeneratePacket(TransmissionType transmission_type, 376 bool ShouldGeneratePacket(TransmissionType transmission_type,
377 HasRetransmittableData retransmittable, 377 HasRetransmittableData retransmittable,
378 IsHandshake handshake) override; 378 IsHandshake handshake) override;
379 QuicAckFrame* CreateAckFrame() override; 379 QuicAckFrame* CreateAckFrame() override;
380 QuicCongestionFeedbackFrame* CreateFeedbackFrame() override; 380 QuicCongestionFeedbackFrame* CreateFeedbackFrame() override;
381 QuicStopWaitingFrame* CreateStopWaitingFrame() override; 381 QuicStopWaitingFrame* CreateStopWaitingFrame() override;
382 void OnSerializedPacket(const SerializedPacket& packet) override; 382 void OnSerializedPacket(const SerializedPacket& packet) override;
383 383
384 // QuicSentPacketManager::NetworkChangeVisitor 384 // QuicSentPacketManager::NetworkChangeVisitor
385 void OnCongestionWindowChange() override; 385 void OnCongestionWindowChange() override;
386 void OnRttChange() override;
386 387
387 // Called by the crypto stream when the handshake completes. In the server's 388 // Called by the crypto stream when the handshake completes. In the server's
388 // case this is when the SHLO has been ACKed. Clients call this on receipt of 389 // case this is when the SHLO has been ACKed. Clients call this on receipt of
389 // the SHLO. 390 // the SHLO.
390 void OnHandshakeComplete(); 391 void OnHandshakeComplete();
391 392
392 // Accessors 393 // Accessors
393 void set_visitor(QuicConnectionVisitorInterface* visitor) { 394 void set_visitor(QuicConnectionVisitorInterface* visitor) {
394 visitor_ = visitor; 395 visitor_ = visitor;
395 } 396 }
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 842
842 // True if this is a secure QUIC connection. 843 // True if this is a secure QUIC connection.
843 bool is_secure_; 844 bool is_secure_;
844 845
845 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 846 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
846 }; 847 };
847 848
848 } // namespace net 849 } // namespace net
849 850
850 #endif // NET_QUIC_QUIC_CONNECTION_H_ 851 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698