| Index: components/subresource_filter/core/common/indexed_ruleset.h
|
| diff --git a/components/subresource_filter/core/common/indexed_ruleset.h b/components/subresource_filter/core/common/indexed_ruleset.h
|
| index fec6c0c2c4489c1ab89ba91237c2ec895395d6f1..cb04c5af7fdaf209340efadc64d3000e4366b528 100644
|
| --- a/components/subresource_filter/core/common/indexed_ruleset.h
|
| +++ b/components/subresource_filter/core/common/indexed_ruleset.h
|
| @@ -110,9 +110,8 @@ class IndexedRulesetMatcher {
|
| IndexedRulesetMatcher(const uint8_t* buffer, size_t size);
|
|
|
| // Returns whether the network request to |url| of |element_type| initiated by
|
| - // |initiator| is allowed to proceed.
|
| - // |element_type| == ELEMENT_TYPE_UNSPECIFIED denotes an unknown or irrelevant
|
| - // type.
|
| + // |initiator| is allowed to proceed. Always returns true, if the |url| is not
|
| + // valid or |element_type| == ELEMENT_TYPE_UNSPECIFIED.
|
| bool IsAllowed(const GURL& url,
|
| const url::Origin& initiator,
|
| proto::ElementType element_type) const;
|
|
|