Index: components/safe_browsing_db/util.h |
diff --git a/components/safe_browsing_db/util.h b/components/safe_browsing_db/util.h |
index d2e46ee68fd14ada187b6db82257b3ea61fa8944..33508393b0e795991546d9a796c80ba8ff1ffdf5 100644 |
--- a/components/safe_browsing_db/util.h |
+++ b/components/safe_browsing_db/util.h |
@@ -97,9 +97,10 @@ extern const char kIPBlacklist[]; |
extern const char kUnwantedUrlList[]; |
// SafeBrowsing off-domain inclusion whitelist list name. |
extern const char kInclusionWhitelist[]; |
+// SafeBrowsing module whitelist list name. |
+extern const char kModuleWhitelist[]; |
// This array must contain all Safe Browsing lists. |
-extern const char* kAllLists[9]; |
- |
+extern const char* kAllLists[10]; |
enum ListType { |
INVALID = -1, |
@@ -123,9 +124,10 @@ enum ListType { |
// See above comment. Leave 15 available. |
INCLUSIONWHITELIST = 16, |
// See above comment. Leave 17 available. |
+ MODULEWHITELIST = 18, |
+ // See above comment. Leave 19 available. |
}; |
- |
inline bool SBFullHashEqual(const SBFullHash& a, const SBFullHash& b) { |
return !memcmp(a.full_hash, b.full_hash, sizeof(a.full_hash)); |
} |