| Index: net/http/http_stream.h
|
| diff --git a/net/http/http_stream.h b/net/http/http_stream.h
|
| index 2bfc5b66b49a2dfbe4f4a6bb4e97dce0428c6383..57623396a541199f78d04491f1e68740d9ab5aa6 100644
|
| --- a/net/http/http_stream.h
|
| +++ b/net/http/http_stream.h
|
| @@ -11,6 +11,8 @@
|
| #ifndef NET_HTTP_HTTP_STREAM_H_
|
| #define NET_HTTP_HTTP_STREAM_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "net/base/completion_callback.h"
|
| @@ -118,6 +120,9 @@ class NET_EXPORT_PRIVATE HttpStream {
|
| // Get the total number of bytes received from network for this stream.
|
| virtual int64 GetTotalReceivedBytes() const = 0;
|
|
|
| + // Get the total number of bytes sent over the network for this stream.
|
| + virtual int64_t GetTotalSentBytes() 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
|
|
|