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

Unified Diff: google_apis/drive/base_requests.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
Index: google_apis/drive/base_requests.h
diff --git a/google_apis/drive/base_requests.h b/google_apis/drive/base_requests.h
index e94f7d389dedd66ecb586623f8ac69e669f489a7..78c641b128b80351c2b67ab8439ed241ed3a1039 100644
--- a/google_apis/drive/base_requests.h
+++ b/google_apis/drive/base_requests.h
@@ -630,7 +630,8 @@ class DownloadFileRequestBase : public UrlFetchRequestBase {
// net::URLFetcherDelegate overrides.
void OnURLFetchDownloadProgress(const net::URLFetcher* source,
int64_t current,
- int64_t total) override;
+ int64_t total,
+ int64_t current_network_bytes) override;
private:
const DownloadActionCallback download_action_callback_;

Powered by Google App Engine
This is Rietveld 408576698