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

Unified Diff: components/policy/core/common/cloud/external_policy_data_updater_unittest.cc

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_updater_unittest.cc
diff --git a/components/policy/core/common/cloud/external_policy_data_updater_unittest.cc b/components/policy/core/common/cloud/external_policy_data_updater_unittest.cc
index 2a1e0782563912e1747d4c90759434abc522bd45..e57e2bec3edd882cdcc9972705c8e4ae64abae57 100644
--- a/components/policy/core/common/cloud/external_policy_data_updater_unittest.cc
+++ b/components/policy/core/common/cloud/external_policy_data_updater_unittest.cc
@@ -178,9 +178,8 @@ TEST_F(ExternalPolicyDataUpdaterTest, PayloadSizeExceedsLimit) {
// Indicate that the payload size will exceed allowed maximum.
fetcher->delegate()->OnURLFetchDownloadProgress(
- fetcher,
- kExternalPolicyDataMaxSize + 1,
- -1);
+ fetcher, kExternalPolicyDataMaxSize + 1, -1,
+ kExternalPolicyDataMaxSize + 1);
backend_task_runner_->RunPendingTasks();
io_task_runner_->RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698