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 e8d6a592bce135a9bc4ae9942de860e06deee307..eee257605c41975c25af6db9c2d0516c26379f21 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc |
@@ -233,7 +233,7 @@ ACTION_P(CheckDownloadUrlDone, threat_type) { |
LocalSafeBrowsingDatabaseManager::SafeBrowsingCheck* check = |
new LocalSafeBrowsingDatabaseManager::SafeBrowsingCheck( |
arg0, std::vector<SBFullHash>(), arg1, BINURL, |
- std::vector<SBThreatType>(1, SB_THREAT_TYPE_BINARY_MALWARE_URL)); |
+ std::vector<SBThreatType>(1, SB_THREAT_TYPE_URL_BINARY_MALWARE)); |
for (size_t i = 0; i < check->url_results.size(); ++i) |
check->url_results[i] = threat_type; |
BrowserThread::PostTask( |
@@ -1797,7 +1797,7 @@ TEST_F(DownloadProtectionServiceTest, TestCheckDownloadUrl) { |
{ |
EXPECT_CALL(*sb_service_->mock_database_manager(), |
CheckDownloadUrl(ContainerEq(url_chain), NotNull())) |
- .WillOnce(DoAll(CheckDownloadUrlDone(SB_THREAT_TYPE_BINARY_MALWARE_URL), |
+ .WillOnce(DoAll(CheckDownloadUrlDone(SB_THREAT_TYPE_URL_BINARY_MALWARE), |
Return(false))); |
RunLoop run_loop; |
download_service_->CheckDownloadUrl( |