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 427f8dd4cb94fac88e23626cce5c860fb926f5b8..6718e6dbbf603774e82fed75cdde4c5b5590a752 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 |
@@ -101,8 +101,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; |