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

Unified Diff: components/safe_browsing_db/v4_local_database_manager_unittest.cc

Issue 2353413002: Store list information in ListInfo (was: StoreIdAndFIleName) (Closed)
Patch Set: s/StoreIdAndFileName/ListInfo. Move SBThreatType into ListInfo. 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/safe_browsing_db/v4_local_database_manager_unittest.cc
diff --git a/components/safe_browsing_db/v4_local_database_manager_unittest.cc b/components/safe_browsing_db/v4_local_database_manager_unittest.cc
index 6cc4b7266b254619f52a6054e4d0e18e23344527..615931b78cbc0f0cda82fb4188350dcec82752e3 100644
--- a/components/safe_browsing_db/v4_local_database_manager_unittest.cc
+++ b/components/safe_browsing_db/v4_local_database_manager_unittest.cc
@@ -149,15 +149,15 @@ TEST_F(V4LocalDatabaseManagerTest, TestGetSeverestThreatTypeAndMetadata) {
SBThreatType result_threat_type;
ThreatMetadata metadata;
- V4LocalDatabaseManager::GetSeverestThreatTypeAndMetadata(&result_threat_type,
- &metadata, fhis);
+ v4_local_database_manager_->GetSeverestThreatTypeAndMetadata(
+ &result_threat_type, &metadata, fhis);
EXPECT_EQ(SB_THREAT_TYPE_URL_MALWARE, result_threat_type);
EXPECT_EQ("malware_popid", metadata.population_id);
// Reversing the list has no effect.
std::reverse(std::begin(fhis), std::end(fhis));
- V4LocalDatabaseManager::GetSeverestThreatTypeAndMetadata(&result_threat_type,
- &metadata, fhis);
+ v4_local_database_manager_->GetSeverestThreatTypeAndMetadata(
+ &result_threat_type, &metadata, fhis);
EXPECT_EQ(SB_THREAT_TYPE_URL_MALWARE, result_threat_type);
EXPECT_EQ("malware_popid", metadata.population_id);
}

Powered by Google App Engine
This is Rietveld 408576698