| Index: components/subresource_filter/core/common/activation_list.cc
|
| diff --git a/components/subresource_filter/core/common/activation_list.cc b/components/subresource_filter/core/common/activation_list.cc
|
| index f0ff340049003403fe5cc89042fdfa4a4444002d..e87775782578a356ed411e584fe344863bb52c1c 100644
|
| --- a/components/subresource_filter/core/common/activation_list.cc
|
| +++ b/components/subresource_filter/core/common/activation_list.cc
|
| @@ -21,6 +21,9 @@ std::ostream& operator<<(std::ostream& os, const ActivationList& type) {
|
| case ActivationList::PHISHING_INTERSTITIAL:
|
| os << "PHISHING_INTERSTITIAL";
|
| break;
|
| + case ActivationList::SUBRESOURCE_FILTER:
|
| + os << "SUBRESOURCE_FILTER";
|
| + break;
|
| default:
|
| NOTREACHED();
|
| break;
|
| @@ -41,6 +44,8 @@ ActivationList GetListForThreatTypeAndMetadata(
|
| return ActivationList::SOCIAL_ENG_ADS_INTERSTITIAL;
|
| }
|
| return ActivationList::PHISHING_INTERSTITIAL;
|
| + } else if (threat_type == safe_browsing::SB_THREAT_TYPE_SUBRESOURCE_FILTER) {
|
| + return ActivationList::SUBRESOURCE_FILTER;
|
| }
|
| return ActivationList::NONE;
|
| }
|
|
|