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

Unified Diff: components/sync/core/http_bridge.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: components/sync/core/http_bridge.h
diff --git a/components/sync/core/http_bridge.h b/components/sync/core/http_bridge.h
index 88509dea740b16532632d1ef01e873630a2a6daf..db9e894a9af294fb7a4f537578e2adf4197e8b29 100644
--- a/components/sync/core/http_bridge.h
+++ b/components/sync/core/http_bridge.h
@@ -76,7 +76,8 @@ class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
void OnURLFetchComplete(const net::URLFetcher* source) override;
void OnURLFetchDownloadProgress(const net::URLFetcher* source,
int64_t current,
- int64_t total) override;
+ int64_t total,
+ int64_t current_network_bytes) override;
void OnURLFetchUploadProgress(const net::URLFetcher* source,
int64_t current,
int64_t total) override;

Powered by Google App Engine
This is Rietveld 408576698