| Index: net/quic/quic_connection.h
|
| diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
|
| index 2f91bb4b881f4bde817b2e6b62b35a1312b929ee..c35e863baecd6d54e0f1d177b07844d4d313e571 100644
|
| --- a/net/quic/quic_connection.h
|
| +++ b/net/quic/quic_connection.h
|
| @@ -111,10 +111,10 @@ class NET_EXPORT_PRIVATE QuicConnectionVisitorInterface {
|
| // Interface which gets callbacks from the QuicConnection at interesting
|
| // points. Implementations must not mutate the state of the connection
|
| // as a result of these callbacks.
|
| -class NET_EXPORT_PRIVATE QuicConnectionDebugVisitorInterface
|
| - : public QuicPacketGenerator::DebugDelegateInterface {
|
| +class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
|
| + : public QuicPacketGenerator::DebugDelegate {
|
| public:
|
| - virtual ~QuicConnectionDebugVisitorInterface() {}
|
| + virtual ~QuicConnectionDebugVisitor() {}
|
|
|
| // Called when a packet has been sent.
|
| virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number,
|
| @@ -344,7 +344,7 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| void set_visitor(QuicConnectionVisitorInterface* visitor) {
|
| visitor_ = visitor;
|
| }
|
| - void set_debug_visitor(QuicConnectionDebugVisitorInterface* debug_visitor) {
|
| + void set_debug_visitor(QuicConnectionDebugVisitor* debug_visitor) {
|
| debug_visitor_ = debug_visitor;
|
| packet_generator_.set_debug_delegate(debug_visitor);
|
| }
|
| @@ -353,8 +353,12 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| QuicConnectionId connection_id() const { return connection_id_; }
|
| const QuicClock* clock() const { return clock_; }
|
| QuicRandom* random_generator() const { return random_generator_; }
|
| -
|
| - QuicPacketCreator::Options* options() { return packet_creator_.options(); }
|
| + size_t max_packet_length() const {
|
| + return packet_creator_.max_packet_length();
|
| + }
|
| + void set_max_packet_length(size_t length) {
|
| + return packet_creator_.set_max_packet_length(length);
|
| + }
|
|
|
| bool connected() const { return connected_; }
|
|
|
| @@ -455,8 +459,7 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| return sent_packet_manager_;
|
| }
|
|
|
| - bool CanWrite(TransmissionType transmission_type,
|
| - HasRetransmittableData retransmittable);
|
| + bool CanWrite(HasRetransmittableData retransmittable);
|
|
|
| // Stores current batch state for connection, puts the connection
|
| // into batch mode, and destruction restores the stored batch state.
|
| @@ -695,7 +698,7 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| scoped_ptr<QuicAlarm> ping_alarm_;
|
|
|
| QuicConnectionVisitorInterface* visitor_;
|
| - QuicConnectionDebugVisitorInterface* debug_visitor_;
|
| + QuicConnectionDebugVisitor* debug_visitor_;
|
| QuicPacketCreator packet_creator_;
|
| QuicPacketGenerator packet_generator_;
|
|
|
|
|