Chromium Code Reviews| Index: net/http/http_basic_stream.cc |
| diff --git a/net/http/http_basic_stream.cc b/net/http/http_basic_stream.cc |
| index 0d14e0f9a0eac6683aa6ff8a411cffe4fb796ca1..512b09d327fff2d57b57bf400ffa5847bbd8e899 100644 |
| --- a/net/http/http_basic_stream.cc |
| +++ b/net/http/http_basic_stream.cc |
| @@ -87,6 +87,12 @@ int64 HttpBasicStream::GetTotalReceivedBytes() const { |
| return 0; |
| } |
| +int64_t HttpBasicStream::GetTotalSentBytes() const { |
| + if (parser()) |
|
bengr
2015/09/01 23:48:26
For both Sent and Received, is there the potential
sclittle
2015/09/01 23:57:22
When RenewStreamForAuth is called, then parser() w
|
| + return parser()->sent_bytes(); |
| + return 0; |
| +} |
| + |
| bool HttpBasicStream::GetLoadTimingInfo( |
| LoadTimingInfo* load_timing_info) const { |
| return state_.connection()->GetLoadTimingInfo(IsConnectionReused(), |