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

Unified Diff: components/policy/core/common/cloud/external_policy_data_fetcher_unittest.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
Index: components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
diff --git a/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc b/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
index 2905615315eb31f3e1ec978dd733b7ab82d4ed1a..ab659582c24a9a2b4c6b4aa888f119460cbef559 100644
--- a/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
+++ b/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
@@ -158,9 +158,8 @@ TEST_F(ExternalPolicyDataFetcherTest, MaxSizeExceeded) {
// Indicate that the data size will exceed maximum allowed.
fetcher->delegate()->OnURLFetchDownloadProgress(
- fetcher,
- kExternalPolicyDataMaxSize + 1,
- -1);
+ fetcher, kExternalPolicyDataMaxSize + 1, -1,
+ kExternalPolicyDataMaxSize + 1);
// Verify that the fetch is no longer running.
EXPECT_FALSE(fetcher_factory_.GetFetcherByID(0));

Powered by Google App Engine
This is Rietveld 408576698