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

Unified Diff: components/policy/core/common/cloud/external_policy_data_fetcher.h

Issue 2303653002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: rebased 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/policy/core/common/cloud/external_policy_data_fetcher.h
diff --git a/components/policy/core/common/cloud/external_policy_data_fetcher.h b/components/policy/core/common/cloud/external_policy_data_fetcher.h
index a54261d1587c6409e88e4b79a2123ed7f2007679..322b562c19db5c9ff6a699cf6bf7011ddb56e0f7 100644
--- a/components/policy/core/common/cloud/external_policy_data_fetcher.h
+++ b/components/policy/core/common/cloud/external_policy_data_fetcher.h
@@ -163,7 +163,8 @@ class POLICY_EXPORT ExternalPolicyDataFetcherBackend
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;
private:
scoped_refptr<base::SequencedTaskRunner> io_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698