Index: net/quic/quic_protocol.h |
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h |
index 1352c341d86b66e1a2711069b6383f224ad82bf4..612ed6c77d89f850b5a63bae583c0ad07a486f4b 100644 |
--- a/net/quic/quic_protocol.h |
+++ b/net/quic/quic_protocol.h |
@@ -537,6 +537,9 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame { |
QuicStreamOffset offset, |
IOVector data); |
+ NET_EXPORT_PRIVATE friend std::ostream& operator<<( |
+ std::ostream& os, const QuicStreamFrame& s); |
+ |
// Returns a copy of the IOVector |data| as a heap-allocated string. |
// Caller must take ownership of the returned string. |
std::string* GetDataAsString() const; |
@@ -681,6 +684,9 @@ struct NET_EXPORT_PRIVATE QuicRstStreamFrame { |
DCHECK_LE(error_code, std::numeric_limits<uint8>::max()); |
} |
+ NET_EXPORT_PRIVATE friend std::ostream& operator<<( |
+ std::ostream& os, const QuicRstStreamFrame& s); |
+ |
QuicStreamId stream_id; |
QuicRstStreamErrorCode error_code; |
std::string error_details; |