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

Unified Diff: components/safe_browsing_db/v4_database_unittest.cc

Issue 2353413002: Store list information in ListInfo (was: StoreIdAndFIleName) (Closed)
Patch Set: 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_database_unittest.cc
diff --git a/components/safe_browsing_db/v4_database_unittest.cc b/components/safe_browsing_db/v4_database_unittest.cc
index d6260cdc757fd3e099ccc7a1251824283d6cd4cf..e1b5a619c2120895627e962f31689a82c3e15221 100644
--- a/components/safe_browsing_db/v4_database_unittest.cc
+++ b/components/safe_browsing_db/v4_database_unittest.cc
@@ -151,9 +151,9 @@ class V4DatabaseTest : public PlatformTest {
for (const auto& store_state_iter : store_state_map) {
ListIdentifier identifier = store_state_iter.first;
ListUpdateResponse* lur = new ListUpdateResponse;
- lur->set_platform_type(identifier.platform_type);
- lur->set_threat_entry_type(identifier.threat_entry_type);
- lur->set_threat_type(identifier.threat_type);
+ lur->set_platform_type(identifier.platform_type());
+ lur->set_threat_entry_type(identifier.threat_entry_type());
+ lur->set_threat_type(identifier.threat_type());
lur->set_new_client_state(store_state_iter.second);
if (use_valid_response_type) {
lur->set_response_type(ListUpdateResponse::FULL_UPDATE);

Powered by Google App Engine
This is Rietveld 408576698