Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1148)

Unified Diff: net/url_request/url_fetcher_delegate.h

Issue 2303653002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: Addressed mmenke comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_delegate.h
diff --git a/net/url_request/url_fetcher_delegate.h b/net/url_request/url_fetcher_delegate.h
index 192e70ac09611e064133e456bd622e92a9d0a47c..021e82d2861942381d764596678023b0b9206e08 100644
--- a/net/url_request/url_fetcher_delegate.h
+++ b/net/url_request/url_fetcher_delegate.h
@@ -28,7 +28,8 @@ class NET_EXPORT URLFetcherDelegate {
// expected total size of the response (or -1 if not determined).
waffles 2016/09/15 17:00:01 I believe this comment needs to be updated.
Raj 2016/09/15 18:56:17 Done.
virtual void OnURLFetchDownloadProgress(const URLFetcher* source,
int64_t current,
- int64_t total);
+ int64_t total,
+ int64_t current_network_bytes);
// This will be called when uploading of POST or PUT requests proceeded.
// |current| denotes the number of bytes sent so far, and |total| is the
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698