Index: components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
diff --git a/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
index 8f452f69d3dd02fb60cfd806a7e375d358737b6c..88fdf7beeb7b5eefc0b7b75ae58699f0f638c941 100644 |
--- a/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
+++ b/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
@@ -243,7 +243,8 @@ TEST_F(ComponentCloudPolicyUpdaterTest, PolicyDataInvalid) { |
EXPECT_EQ(GURL(kTestDownload2), fetcher->GetOriginalURL()); |
// Indicate that the policy data size will exceed allowed maximum. |
- fetcher->delegate()->OnURLFetchDownloadProgress(fetcher, 6 * 1024 * 1024, -1); |
+ fetcher->delegate()->OnURLFetchDownloadProgress(fetcher, 6 * 1024 * 1024, -1, |
+ 6 * 1024 * 1024); |
task_runner_->RunUntilIdle(); |
// Verify that the third download has been started. |