| Index: net/http/http_stream_parser.h
|
| diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
|
| index cb18cc81cf2e3f74b0b4336bdbbd4b397da5bf05..548460c199ba967fa5c4b84dc2e97c1726f80082 100644
|
| --- a/net/http/http_stream_parser.h
|
| +++ b/net/http/http_stream_parser.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef NET_HTTP_HTTP_STREAM_PARSER_H_
|
| #define NET_HTTP_HTTP_STREAM_PARSER_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <string>
|
|
|
| #include "base/basictypes.h"
|
| @@ -85,6 +87,8 @@ class NET_EXPORT_PRIVATE HttpStreamParser {
|
|
|
| int64 received_bytes() const { return received_bytes_; }
|
|
|
| + int64_t sent_bytes() const { return sent_bytes_; }
|
| +
|
| void GetSSLInfo(SSLInfo* ssl_info);
|
|
|
| void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info);
|
| @@ -209,6 +213,9 @@ class NET_EXPORT_PRIVATE HttpStreamParser {
|
| // value may be bigger than final.
|
| int64 received_bytes_;
|
|
|
| + // The amount of sent data.
|
| + int64_t sent_bytes_;
|
| +
|
| // The parsed response headers. Owned by the caller of SendRequest. This
|
| // cannot be safely accessed after reading the final set of headers, as the
|
| // caller of SendRequest may have been destroyed - this happens in the case an
|
|
|