Index: components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc |
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc |
index 316bfd29b1b3328baeab0798b30d6e333ab022cd..8728b7985133932e3817e9537947b9cfcb00630f 100644 |
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc |
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc |
@@ -734,17 +734,9 @@ |
"https://example.test"}; |
for (auto* url : unsupported_urls) { |
SCOPED_TRACE(url); |
- ActivationDecision expected_decision = |
- ActivationDecision::UNSUPPORTED_SCHEME; |
- // We only log UNSUPPORTED_SCHEME if the navigation would have otherwise |
- // activated. Note that non http/s URLs will never match an activation list. |
- if (test_data.expected_activation_decision == |
- ActivationDecision::ACTIVATION_CONDITIONS_NOT_MET || |
- test_data.activation_scope == ActivationScope::ACTIVATION_LIST) { |
- expected_decision = ActivationDecision::ACTIVATION_CONDITIONS_NOT_MET; |
- } |
NavigateAndExpectActivation({test_data.url_matches_activation_list}, |
- {GURL(url)}, expected_decision); |
+ {GURL(url)}, |
+ ActivationDecision::UNSUPPORTED_SCHEME); |
} |
for (auto* url : supported_urls) { |
SCOPED_TRACE(url); |