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

Unified Diff: google_apis/drive/base_requests.cc

Issue 2378173002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: 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 | « google_apis/drive/base_requests.h ('k') | net/tools/get_server_time/get_server_time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/base_requests.cc
diff --git a/google_apis/drive/base_requests.cc b/google_apis/drive/base_requests.cc
index 97bc82d43b1739a54b0bd54780f29e6e0f3f3992..9b445ff56c929581be33b3433d81458578083ccf 100644
--- a/google_apis/drive/base_requests.cc
+++ b/google_apis/drive/base_requests.cc
@@ -984,7 +984,8 @@ void DownloadFileRequestBase::GetOutputFilePath(
void DownloadFileRequestBase::OnURLFetchDownloadProgress(
const URLFetcher* source,
int64_t current,
- int64_t total) {
+ int64_t total,
+ int64_t current_network_bytes) {
if (!progress_callback_.is_null())
progress_callback_.Run(current, total);
}
« no previous file with comments | « google_apis/drive/base_requests.h ('k') | net/tools/get_server_time/get_server_time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698