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

Unified Diff: components/sync/core/http_bridge.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 | « components/sync/core/http_bridge.h ('k') | components/update_client/url_fetcher_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/http_bridge.cc
diff --git a/components/sync/core/http_bridge.cc b/components/sync/core/http_bridge.cc
index 2434e5083dbbac1f14f86224ae9a2b80d54f3b11..4a7ad59222138628fb4953aadbc6571a51154502 100644
--- a/components/sync/core/http_bridge.cc
+++ b/components/sync/core/http_bridge.cc
@@ -370,7 +370,8 @@ void HttpBridge::OnURLFetchComplete(const net::URLFetcher* source) {
void HttpBridge::OnURLFetchDownloadProgress(const net::URLFetcher* source,
int64_t current,
- int64_t total) {
+ int64_t total,
+ int64_t current_network_bytes) {
DCHECK(network_task_runner_->BelongsToCurrentThread());
// Reset the delay when forward progress is made.
base::AutoLock lock(fetch_state_lock_);
« no previous file with comments | « components/sync/core/http_bridge.h ('k') | components/update_client/url_fetcher_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698