| Index: net/quic/quic_connection.h
|
| diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
|
| index 5fbcbbbae9a3861317fd59ac93b380c14546b652..69e9f12f38e5c49ff9b025516caf7325e5a0876a 100644
|
| --- a/net/quic/quic_connection.h
|
| +++ b/net/quic/quic_connection.h
|
| @@ -457,7 +457,7 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| const QuicClock* clock() const { return clock_; }
|
| QuicRandom* random_generator() const { return random_generator_; }
|
| QuicByteCount max_packet_length() const;
|
| - void set_max_packet_length(QuicByteCount length);
|
| + void SetMaxPacketLength(QuicByteCount length);
|
|
|
| size_t mtu_probe_count() const { return mtu_probe_count_; }
|
|
|
| @@ -770,6 +770,13 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| HasRetransmittableData IsRetransmittable(const QueuedPacket& packet);
|
| bool IsConnectionClose(const QueuedPacket& packet);
|
|
|
| + // Set the size of the packet we are targeting while doing path MTU discovery.
|
| + void SetMtuDiscoveryTarget(QuicByteCount target);
|
| +
|
| + // Validates the potential maximum packet size, and reduces it if it exceeds
|
| + // the largest supported by the protocol or the packet writer.
|
| + QuicByteCount LimitMaxPacketSize(QuicByteCount suggested_max_packet_size);
|
| +
|
| QuicFramer framer_;
|
| QuicConnectionHelperInterface* helper_; // Not owned.
|
| QuicPacketWriter* writer_; // Owned or not depending on |owns_writer_|.
|
|
|