| Index: net/quic/quic_protocol.cc
|
| diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
|
| index 6cd3ae955a2077d70c3c9f8258e70300f2cd6764..a034cfba7e35bf09b7337010842e1625e914775b 100644
|
| --- a/net/quic/quic_protocol.cc
|
| +++ b/net/quic/quic_protocol.cc
|
| @@ -199,6 +199,15 @@ string QuicVersionVectorToString(const QuicVersionVector& versions) {
|
| return result;
|
| }
|
|
|
| +ostream& operator<<(ostream& os, const Perspective& s) {
|
| + if (s == Perspective::IS_SERVER) {
|
| + os << "IS_SERVER";
|
| + } else {
|
| + os << "IS_CLIENT";
|
| + }
|
| + return os;
|
| +}
|
| +
|
| ostream& operator<<(ostream& os, const QuicPacketHeader& header) {
|
| os << "{ connection_id: " << header.public_header.connection_id
|
| << ", connection_id_length:" << header.public_header.connection_id_length
|
|
|