Chromium Code Reviews| Index: net/quic/quic_protocol.cc |
| =================================================================== |
| --- net/quic/quic_protocol.cc (revision 177300) |
| +++ net/quic/quic_protocol.cc (working copy) |
| @@ -12,6 +12,12 @@ |
| namespace net { |
| +ostream& operator<<(ostream& os, const QuicConsumedData& s) { |
| + os << "bytes_consumed: " << s.bytes_consumed |
| + << " fin_consumed: " << s.fin_consumed; |
| + return os; |
| +} |
| + |
| QuicStreamFrame::QuicStreamFrame() {} |
| QuicStreamFrame::QuicStreamFrame(QuicStreamId stream_id, |
| @@ -79,7 +85,7 @@ |
| } |
| ostream& operator<<(ostream& os, const SentPacketInfo& sent_info) { |
| - os << "least_waiting: " << sent_info.least_unacked; |
|
wtc
2013/01/17 02:34:58
I also fixed this typo.
|
| + os << "least_unacked: " << sent_info.least_unacked; |
| return os; |
| } |
| @@ -173,4 +179,9 @@ |
| } |
| } |
| +ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) { |
| + os << s.length() << "-byte data"; |
| + return os; |
| +} |
| + |
| } // namespace net |