Index: components/safe_browsing_db/util.h |
diff --git a/components/safe_browsing_db/util.h b/components/safe_browsing_db/util.h |
index 2e6feb90c33788df37da9681c491030c359b3a7d..d350e101339015c42239dc2902c99dacbbcf5894 100644 |
--- a/components/safe_browsing_db/util.h |
+++ b/components/safe_browsing_db/util.h |
@@ -100,9 +100,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, |
@@ -126,9 +127,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)); |
} |