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

Unified Diff: components/safe_browsing_db/util.h

Issue 2233103002: Move full hash caching logic to v4_get_hash_protocol_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unique_ptr for V4GetHasProtocolManager. Fix the lone failing unit test. 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/util.h
diff --git a/components/safe_browsing_db/util.h b/components/safe_browsing_db/util.h
index d87d63ac6d5cbe25ddb3e8aa49e54daf870ced2d..865e2538c3c09f9cdf0d06e880b6ead9207a6066 100644
--- a/components/safe_browsing_db/util.h
+++ b/components/safe_browsing_db/util.h
@@ -77,6 +77,9 @@ struct ThreatMetadata {
ThreatMetadata(const ThreatMetadata& other);
~ThreatMetadata();
+ bool operator==(const ThreatMetadata& other) const;
+ bool operator!=(const ThreatMetadata& other) const;
+
// Type of blacklisted page. Used on malware and UwS lists.
// This will be NONE if it wasn't present in the reponse.
ThreatPatternType threat_pattern_type;

Powered by Google App Engine
This is Rietveld 408576698