| 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..cd7bffa12c92691286d15e0e58ab5b1e7e159033 100644
|
| --- a/components/safe_browsing_db/util.h
|
| +++ b/components/safe_browsing_db/util.h
|
| @@ -47,6 +47,10 @@ enum SBThreatType {
|
| // Url detected by the client-side malware IP list. This IP list is part
|
| // of the client side detection model.
|
| SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL,
|
| +
|
| + // Url leads to a blacklisted resource script. Note that no warnings should be
|
| + // shown on this threat type, but an incident report might be sent.
|
| + SB_THREAT_TYPE_BLACKLISTED_RESOURCE,
|
| };
|
|
|
|
|
| @@ -97,8 +101,10 @@ extern const char kIPBlacklist[];
|
| extern const char kUnwantedUrlList[];
|
| // SafeBrowsing off-domain inclusion whitelist list name.
|
| extern const char kInclusionWhitelist[];
|
| +// Blacklisted resource URLs list name.
|
| +extern const char kResourceBlacklist[];
|
| // This array must contain all Safe Browsing lists.
|
| -extern const char* kAllLists[9];
|
| +extern const char* kAllLists[10];
|
|
|
|
|
| enum ListType {
|
| @@ -123,6 +129,8 @@ enum ListType {
|
| // See above comment. Leave 15 available.
|
| INCLUSIONWHITELIST = 16,
|
| // See above comment. Leave 17 available.
|
| + RESOURCEBLACKLIST = 18,
|
| + // See above comment. Leave 19 available.
|
| };
|
|
|
|
|
|
|