Index: net/quic/quic_protocol.h |
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h |
index 398a5fd4f20d69ae45cb7945ac23876432aa80ae..d851f1b1e7d0d1ef67deae2162c7e9c6be64fa3c 100644 |
--- a/net/quic/quic_protocol.h |
+++ b/net/quic/quic_protocol.h |
@@ -193,6 +193,11 @@ enum IsHandshake { |
IS_HANDSHAKE |
}; |
+enum class Perspective { IS_SERVER, IS_CLIENT }; |
+ |
+NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
+ const Perspective& s); |
+ |
// Indicates FEC protection level for data being written. |
enum FecProtection { |
MUST_FEC_PROTECT, // Callee must FEC protect this data. |