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

Unified Diff: components/safe_browsing_db/v4_protocol_manager_util.h

Issue 2747313002: PasswordProtectionService verdict cache management (Closed)
Patch Set: comments addressed partially Created 3 years, 9 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.h
diff --git a/components/safe_browsing_db/v4_protocol_manager_util.h b/components/safe_browsing_db/v4_protocol_manager_util.h
index 4ebb78304f07c4703f31a984bf8915ef15322432..d2b9f58366b1e12244f41fbc00653ca5bae875e8 100644
--- a/components/safe_browsing_db/v4_protocol_manager_util.h
+++ b/components/safe_browsing_db/v4_protocol_manager_util.h
@@ -273,6 +273,10 @@ class V4ProtocolManagerUtil {
static void UrlToFullHashes(const GURL& url,
std::vector<FullHash>* full_hashes);
+ static void GenerateHostAndPathVariants(const GURL& url,
+ std::vector<std::string>* hosts,
+ std::vector<std::string>* paths);
+
static bool FullHashToHashPrefix(const FullHash& full_hash,
PrefixSize prefix_size,
HashPrefix* hash_prefix);

Powered by Google App Engine
This is Rietveld 408576698