Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index c734387ba696eaf34114255fc1312a60e0c25599..807c7d301560d01b816644dfd0511a0549283afc 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -374,7 +374,7 @@ class NET_EXPORT_PRIVATE QuicConnection |
virtual QuicAckFrame* CreateAckFrame() OVERRIDE; |
virtual QuicCongestionFeedbackFrame* CreateFeedbackFrame() OVERRIDE; |
virtual QuicStopWaitingFrame* CreateStopWaitingFrame() OVERRIDE; |
- virtual bool OnSerializedPacket(const SerializedPacket& packet) OVERRIDE; |
+ virtual void OnSerializedPacket(const SerializedPacket& packet) OVERRIDE; |
// QuicSentPacketManager::NetworkChangeVisitor |
virtual void OnCongestionWindowChange( |
@@ -526,16 +526,9 @@ class NET_EXPORT_PRIVATE QuicConnection |
// can be handled, false otherwise. |
virtual bool ProcessValidatedPacket(); |
- // Send a packet to the peer using encryption |level|. If |sequence_number| |
- // is present in the |retransmission_map_|, then contents of this packet will |
- // be retransmitted with a new sequence number if it's not acked by the peer. |
- // Deletes |packet| if WritePacket call succeeds, or transfers ownership to |
- // QueuedPacket, ultimately deleted in WriteQueuedPackets. Updates the |
- // entropy map corresponding to |sequence_number| using |entropy_hash|. |
- // |transmission_type| and |retransmittable| are supplied to the congestion |
- // manager, and when |forced| is true, it bypasses the congestion manager. |
- // TODO(wtc): none of the callers check the return value. |
- virtual bool SendOrQueuePacket(EncryptionLevel level, |
+ // Send a packet to the peer, and takes ownership of the packet if the packet |
+ // cannot be written immediately. |
+ virtual void SendOrQueuePacket(EncryptionLevel level, |
const SerializedPacket& packet, |
TransmissionType transmission_type); |