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

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

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
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 be37dd869921700ae459c991dea5bd23ec36159f..9310fee64e9cf7d09dd911c7419bcc1bdfe25cb7 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