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

Unified Diff: components/safe_browsing_db/v4_protocol_manager_util.cc

Issue 2103693002: SafeBrowsing PVer4: Send mutable response to the database and the stores (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_ReadFromDisk
Patch Set: Created 4 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: components/safe_browsing_db/v4_protocol_manager_util.cc
diff --git a/components/safe_browsing_db/v4_protocol_manager_util.cc b/components/safe_browsing_db/v4_protocol_manager_util.cc
index e5e4f01255bf6810e0a059b01cf87d4231230435..f19bd862018957d35831047c68cac956716425bc 100644
--- a/components/safe_browsing_db/v4_protocol_manager_util.cc
+++ b/components/safe_browsing_db/v4_protocol_manager_util.cc
@@ -58,10 +58,10 @@ UpdateListIdentifier::UpdateListIdentifier(PlatformType platform_type,
DCHECK(ThreatType_IsValid(threat_type));
}
-UpdateListIdentifier::UpdateListIdentifier(const ListUpdateResponse& response)
- : UpdateListIdentifier(response.platform_type(),
- response.threat_entry_type(),
- response.threat_type()) {}
+UpdateListIdentifier::UpdateListIdentifier(const ListUpdateResponse* response)
+ : UpdateListIdentifier(response->platform_type(),
+ response->threat_entry_type(),
+ response->threat_type()) {}
V4ProtocolConfig::V4ProtocolConfig() : disable_auto_update(false) {}

Powered by Google App Engine
This is Rietveld 408576698