Index: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h |
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h |
index 2f4b58bf819e0a504e372eb7ea4e122dae7d2a78..9aab6bd206865f949cba3c76348fd5be6636b6d8 100644 |
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h |
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h |
@@ -102,8 +102,10 @@ class ContentSubresourceFilterDriverFactory |
// Returns whether a main-frame navigation to the given |url| satisfies the |
// activation |conditions| of a given configuration, except for |priority|. |
+ // Pass |scheme_is_http_or_https| to avoid multiple string comparisons. |
bool DoesMainFrameURLSatisfyActivationConditions( |
const GURL& url, |
+ bool scheme_is_http_or_https, |
const Configuration::ActivationConditions& conditions, |
ActivationList matched_list) const; |