| Index: net/http/http_basic_stream.cc
|
| diff --git a/net/http/http_basic_stream.cc b/net/http/http_basic_stream.cc
|
| index 795e299bb6cd62ebd043acfdd2251cc515990a6b..42a25929fe53e05a173178970a23d33316b79cf7 100644
|
| --- a/net/http/http_basic_stream.cc
|
| +++ b/net/http/http_basic_stream.cc
|
| @@ -83,6 +83,12 @@ int64 HttpBasicStream::GetTotalReceivedBytes() const {
|
| return 0;
|
| }
|
|
|
| +int64_t HttpBasicStream::GetTotalSentBytes() const {
|
| + if (parser())
|
| + return parser()->sent_bytes();
|
| + return 0;
|
| +}
|
| +
|
| bool HttpBasicStream::GetLoadTimingInfo(
|
| LoadTimingInfo* load_timing_info) const {
|
| return state_.connection()->GetLoadTimingInfo(IsConnectionReused(),
|
|
|