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

Unified Diff: chrome/browser/safe_browsing/local_database_manager_unittest.cc

Issue 2925693003: Making CSD ReportType enum consistent. (Closed)
Patch Set: Handling SBThreatType enums as well Created 3 years, 6 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: chrome/browser/safe_browsing/local_database_manager_unittest.cc
diff --git a/chrome/browser/safe_browsing/local_database_manager_unittest.cc b/chrome/browser/safe_browsing/local_database_manager_unittest.cc
index ee13eba7fb80fbb16f5d3fdf63b5af5edbd15fd6..4f3d93a49579118c290d3dbeee6a87acf492cb0f 100644
--- a/chrome/browser/safe_browsing/local_database_manager_unittest.cc
+++ b/chrome/browser/safe_browsing/local_database_manager_unittest.cc
@@ -103,7 +103,7 @@ bool LocalDatabaseManagerTest::RunTest(
TEST_F(LocalDatabaseManagerTest, CheckCorrespondsListTypeForHash) {
std::vector<SBThreatType> malware_threat(1,
- SB_THREAT_TYPE_BINARY_MALWARE_URL);
+ SB_THREAT_TYPE_URL_BINARY_MALWARE);
EXPECT_FALSE(RunSBHashTest(BINURL, malware_threat, {kMalwareList}));
EXPECT_TRUE(RunSBHashTest(BINURL, malware_threat, {kBinUrlList}));
@@ -130,7 +130,7 @@ TEST_F(LocalDatabaseManagerTest, CheckCorrespondsListTypeForUrl) {
{{host2, kBinUrlList}};
std::vector<SBThreatType> malware_threat =
- {SB_THREAT_TYPE_BINARY_MALWARE_URL};
+ {SB_THREAT_TYPE_URL_BINARY_MALWARE};
EXPECT_FALSE(RunUrlTest(url, BINURL, malware_threat, malware_list_result));
EXPECT_TRUE(RunUrlTest(url, BINURL, malware_threat, binurl_list_result));
« no previous file with comments | « chrome/browser/safe_browsing/local_database_manager.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698