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

Unified Diff: components/safe_browsing_db/v4_store.h

Issue 2225113002: Reland: Move PVer4 related code from util.* to v4_protocol_manager_util.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor: Address nparker@'s comments Created 4 years, 4 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
« no previous file with comments | « components/safe_browsing_db/v4_protocol_manager_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/v4_store.h
diff --git a/components/safe_browsing_db/v4_store.h b/components/safe_browsing_db/v4_store.h
index 94621e5281cac0682e505c695513c4090bfb7b22..770088b5938a117ea71dd72fa17c3b45a573cbd4 100644
--- a/components/safe_browsing_db/v4_store.h
+++ b/components/safe_browsing_db/v4_store.h
@@ -22,9 +22,6 @@ typedef base::Callback<void(std::unique_ptr<V4Store>)>
// hash).
typedef size_t PrefixSize;
-// A hash prefix sent by the SafeBrowsing PVer4 service.
-typedef std::string HashPrefix;
-
// The sorted list of hash prefixes.
typedef std::string HashPrefixes;
@@ -38,9 +35,6 @@ typedef base::hash_map<PrefixSize, HashPrefixes> HashPrefixMap;
// 3 hash prefixes of length 4, and 1 hash prefix of length 5.
typedef base::hash_map<PrefixSize, HashPrefixes::const_iterator> IteratorMap;
-// A full SHA256 hash.
-typedef HashPrefix FullHash;
-
// Enumerate different failure events while parsing the file read from disk for
// histogramming purposes. DO NOT CHANGE THE ORDERING OF THESE VALUES.
enum StoreReadResult {
« no previous file with comments | « components/safe_browsing_db/v4_protocol_manager_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698