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

Unified Diff: components/safe_browsing_db/v4_get_hash_protocol_manager.cc

Issue 2353413002: Store list information in ListInfo (was: StoreIdAndFIleName) (Closed)
Patch Set: sort the members of ListInfo by member name 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_get_hash_protocol_manager.cc
diff --git a/components/safe_browsing_db/v4_get_hash_protocol_manager.cc b/components/safe_browsing_db/v4_get_hash_protocol_manager.cc
index fe0c4e75ddd5aaf5d4692c6fa94f5b4b4ef0fdf8..dcd03e789e7673c6f9db76068325419b467cec2a 100644
--- a/components/safe_browsing_db/v4_get_hash_protocol_manager.cc
+++ b/components/safe_browsing_db/v4_get_hash_protocol_manager.cc
@@ -240,9 +240,9 @@ V4GetHashProtocolManager::V4GetHashProtocolManager(
clock_(new base::DefaultClock()) {
DCHECK(!stores_to_request.empty());
for (const ListIdentifier& store : stores_to_request) {
- platform_types_.insert(store.platform_type);
- threat_entry_types_.insert(store.threat_entry_type);
- threat_types_.insert(store.threat_type);
+ platform_types_.insert(store.platform_type());
+ threat_entry_types_.insert(store.threat_entry_type());
+ threat_types_.insert(store.threat_type());
}
}

Powered by Google App Engine
This is Rietveld 408576698