| Index: net/http/http_stream_parser.h
|
| diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
|
| index 471d9f10c39ba9c5e04dc3268af2c7fc8d8e2a40..a5ee8b88e593d13f8d687e469151b8fa63b18cb9 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"
|
| @@ -77,6 +79,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);
|
| @@ -201,6 +205,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
|
|
|