summaryrefslogtreecommitdiff
path: root/chromium/net/http/http_stream_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/http/http_stream_base.h')
-rw-r--r--chromium/net/http/http_stream_base.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/net/http/http_stream_base.h b/chromium/net/http/http_stream_base.h
index 596ed75dff1..f5dcc29409e 100644
--- a/chromium/net/http/http_stream_base.h
+++ b/chromium/net/http/http_stream_base.h
@@ -5,7 +5,7 @@
// HttpStreamBase is an interface for reading and writing data to an
// HTTP-like stream that keeps the client agnostic of the actual underlying
// transport layer. This provides an abstraction for HttpStream and
-// WebSocketStream.
+// WebSocketHandshakeStreamBase.
#ifndef NET_HTTP_HTTP_STREAM_BASE_H_
#define NET_HTTP_HTTP_STREAM_BASE_H_
@@ -110,6 +110,9 @@ class NET_EXPORT_PRIVATE HttpStreamBase {
// allows it to be reused.
virtual bool IsConnectionReusable() const = 0;
+ // Get the total number of bytes received from network for this stream.
+ virtual int64 GetTotalReceivedBytes() const = 0;
+
// Populates the connection establishment part of |load_timing_info|, and
// socket ID. |load_timing_info| must have all null times when called.
// Returns false and does nothing if there is no underlying connection, either