Index: net/quic/quic_http_stream.h |
diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h |
index df88bf8d5dc4c94be8279cda53b16ff013313291..f67d094e84fbc60c3751ddab1acee58fb7d1d6a0 100644 |
--- a/net/quic/quic_http_stream.h |
+++ b/net/quic/quic_http_stream.h |
@@ -62,7 +62,8 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
void SetPriority(RequestPriority priority) override; |
// QuicReliableClientStream::Delegate implementation |
- void OnHeadersAvailable(const SpdyHeaderBlock& headers) override; |
+ void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
+ size_t frame_len) override; |
void OnDataAvailable() override; |
void OnClose(QuicErrorCode error) override; |
void OnError(int error) override; |
@@ -144,6 +145,11 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
// Serialized HTTP request. |
std::string request_; |
+ // Number of bytes received by the headers stream on behalf of this stream. |
+ int64_t headers_stream_received_bytes_; |
+ // Number of bytes sent by the headers stream on behalf of this stream. |
+ int64_t headers_stream_sent_bytes_; |
Ryan Hamilton
2015/09/23 02:53:26
nit: I would name these: headers_bytes_sent_ and h
|
+ |
// Number of bytes received when the stream was closed. |
int64 closed_stream_received_bytes_; |
// Number of bytes sent when the stream was closed. |