Chromium Code Reviews| Index: net/url_request/url_fetcher_core.h |
| diff --git a/net/url_request/url_fetcher_core.h b/net/url_request/url_fetcher_core.h |
| index 06f8451c4f8e5d1ad4d207ea0924efd8ec0d1e01..ec0e8db51f6227b1a23d83f4b1f20425d0fbea6a 100644 |
| --- a/net/url_request/url_fetcher_core.h |
| +++ b/net/url_request/url_fetcher_core.h |
| @@ -116,6 +116,8 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>, |
| const GURL& GetURL() const; |
| const URLRequestStatus& GetStatus() const; |
| int GetResponseCode() const; |
| + int64 GetBytesReceivedSize() const; |
| + int64 GetBytesSentSize() const; |
| const ResponseCookies& GetCookies() const; |
| int64_t GetReceivedResponseContentLength() const; |
| int64_t GetTotalReceivedBytes() const; |
| @@ -334,7 +336,10 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>, |
| int64 current_response_bytes_; |
| // Total expected bytes to receive (-1 if it cannot be determined). |
| int64 total_response_bytes_; |
| - |
| + // Total received bytes size |
|
bengr
2015/08/07 18:00:02
Add a period.
amohammadkhan
2015/08/11 22:04:36
Done.
|
| + int64 total_downloaded_bytes_; |
| + // total sent bytes size |
|
bengr
2015/08/07 18:00:02
You can be more specific for these. Total bytes se
amohammadkhan
2015/08/11 22:04:36
Done.
|
| + int64 total_sent_bytes_; |
| // TODO(willchan): Get rid of this after debugging crbug.com/90971. |
| base::debug::StackTrace stack_trace_; |