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

Unified Diff: components/safe_browsing_db/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/database_manager_unittest.cc
diff --git a/components/safe_browsing_db/database_manager_unittest.cc b/components/safe_browsing_db/database_manager_unittest.cc
index 661c36b317ae6846ac456fd11210771b7bb34bc4..e74af1b3ab21f2acae29aadb3c88b6642fab680f 100644
--- a/components/safe_browsing_db/database_manager_unittest.cc
+++ b/components/safe_browsing_db/database_manager_unittest.cc
@@ -78,9 +78,9 @@ class SafeBrowsingDatabaseManagerTest : public testing::Test {
FindFullHashesResponse response;
response.mutable_negative_cache_duration()->set_seconds(600);
ThreatMatch* m = response.add_matches();
- m->set_platform_type(list_id.platform_type);
- m->set_threat_entry_type(list_id.threat_entry_type);
- m->set_threat_type(list_id.threat_type);
+ m->set_platform_type(list_id.platform_type());
+ m->set_threat_entry_type(list_id.threat_entry_type());
+ m->set_threat_type(list_id.threat_type());
m->mutable_threat()->set_hash(full_hash);
m->mutable_cache_duration()->set_seconds(300);

Powered by Google App Engine
This is Rietveld 408576698