| Index: components/subresource_filter/content/browser/content_activation_list_utils.cc
|
| diff --git a/components/subresource_filter/content/browser/content_activation_list_utils.cc b/components/subresource_filter/content/browser/content_activation_list_utils.cc
|
| index 6689d600a6be3fc5ef7b0af4d4cd22b01d88a7fe..bff2cef641dd87c9db80e8b44993ebaf81d4b10b 100644
|
| --- a/components/subresource_filter/content/browser/content_activation_list_utils.cc
|
| +++ b/components/subresource_filter/content/browser/content_activation_list_utils.cc
|
| @@ -14,12 +14,17 @@ ActivationList GetListForThreatTypeAndMetadata(
|
| bool is_soc_engineering_ads_interstitial =
|
| threat_type_metadata ==
|
| safe_browsing::ThreatPatternType::SOCIAL_ENGINEERING_ADS;
|
| + bool subresource_filter =
|
| + (threat_type == safe_browsing::SB_THREAT_TYPE_SUBRESOURCE_FILTER);
|
| if (is_phishing_interstitial) {
|
| if (is_soc_engineering_ads_interstitial) {
|
| return ActivationList::SOCIAL_ENG_ADS_INTERSTITIAL;
|
| }
|
| return ActivationList::PHISHING_INTERSTITIAL;
|
| + } else if (subresource_filter) {
|
| + return ActivationList::SUBRESOURCE_FILTER;
|
| }
|
| +
|
| return ActivationList::NONE;
|
| }
|
|
|
|
|