| Index: net/quic/quic_protocol.cc
|
| diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
|
| index faa5c787569031b865a2a00f27569d3044186934..27f980fa8be371a37df18c533f3fcb6b7f4477a3 100644
|
| --- a/net/quic/quic_protocol.cc
|
| +++ b/net/quic/quic_protocol.cc
|
| @@ -274,7 +274,9 @@ StringPiece QuicPacket::Plaintext() const {
|
| length() - start_of_encrypted_data);
|
| }
|
|
|
| -RetransmittableFrames::RetransmittableFrames() {}
|
| +RetransmittableFrames::RetransmittableFrames()
|
| + : encryption_level_(NUM_ENCRYPTION_LEVELS) {
|
| +}
|
|
|
| RetransmittableFrames::~RetransmittableFrames() {
|
| for (QuicFrames::iterator it = frames_.begin(); it != frames_.end(); ++it) {
|
| @@ -326,6 +328,10 @@ const QuicFrame& RetransmittableFrames::AddNonStreamFrame(
|
| return frames_.back();
|
| }
|
|
|
| +void RetransmittableFrames::set_encryption_level(EncryptionLevel level) {
|
| + encryption_level_ = level;
|
| +}
|
| +
|
| ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) {
|
| os << s.length() << "-byte data";
|
| return os;
|
|
|