diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 22:59:15 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 22:59:15 +0000 |
commit | 14cfbd6a8c4fdaf0f72bf5c1be3b6529e71292e7 (patch) | |
tree | 63544d1e929d21e103a18b096796d8af9cdcfa6c /net/quic/quic_http_stream.h | |
parent | 7196a289fdbd636d9824b401580fc7b19c7b1d27 (diff) | |
download | chromium_src-14cfbd6a8c4fdaf0f72bf5c1be3b6529e71292e7.zip chromium_src-14cfbd6a8c4fdaf0f72bf5c1be3b6529e71292e7.tar.gz chromium_src-14cfbd6a8c4fdaf0f72bf5c1be3b6529e71292e7.tar.bz2 |
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
Diffstat (limited to 'net/quic/quic_http_stream.h')
-rw-r--r-- | net/quic/quic_http_stream.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<scoped_refptr<IOBufferWithSize> > 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_; |