| Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| index e5bc6825a05574eb50b0816a44f962cf148f6aae..cb6e9404043adb645e8f25ea8f6a543020470de6 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -662,6 +662,8 @@ TEST_F(DownloadProtectionServiceTest,
|
|
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS));
|
| EXPECT_TRUE(HasClientDownloadRequest());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_url_whitelist());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_certificate_whitelist());
|
| ClearClientDownloadRequest();
|
|
|
| // Check that the referrer is not matched against the whitelist.
|
| @@ -674,6 +676,8 @@ TEST_F(DownloadProtectionServiceTest,
|
|
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS));
|
| EXPECT_TRUE(HasClientDownloadRequest());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_url_whitelist());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_certificate_whitelist());
|
| ClearClientDownloadRequest();
|
|
|
| // Redirect from a site shouldn't be checked either.
|
| @@ -686,6 +690,8 @@ TEST_F(DownloadProtectionServiceTest,
|
|
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::DANGEROUS));
|
| EXPECT_TRUE(HasClientDownloadRequest());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_url_whitelist());
|
| + EXPECT_FALSE(GetClientDownloadRequest()->skipped_certificate_whitelist());
|
| ClearClientDownloadRequest();
|
|
|
| // Only if the final url is whitelisted should it be SAFE.
|
|
|