From 14cfbd6a8c4fdaf0f72bf5c1be3b6529e71292e7 Mon Sep 17 00:00:00 2001 From: "rch@chromium.org" Date: Thu, 23 Jan 2014 22:59:15 +0000 Subject: Implement QuicHttpStream::GetTotalReceivedBytes. Review URL: https://codereview.chromium.org/135013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246710 0039d316-1c4b-4281-b951-d872f2087c98 --- net/quic/quic_http_stream.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/quic/quic_http_stream.h') diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h index 7a96ea3..ce78bb3 100644 --- a/net/quic/quic_http_stream.h +++ b/net/quic/quic_http_stream.h @@ -145,6 +145,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream : // TODO(rch): This is infinite buffering, which is bad. std::list > response_body_; + // Number of bytes received when the stream was closed. + int64 closed_stream_received_bytes_; + // The caller's callback to be used for asynchronous operations. CompletionCallback callback_; -- cgit v1.1