Chromium Code Reviews| Index: extensions/common/url_pattern_set.h |
| diff --git a/extensions/common/url_pattern_set.h b/extensions/common/url_pattern_set.h |
| index b3116c8c231811c49448eb6a781227ddc6419e91..71358736471f12b13fa5b7f33b205c366096444c 100644 |
| --- a/extensions/common/url_pattern_set.h |
| +++ b/extensions/common/url_pattern_set.h |
| @@ -79,6 +79,9 @@ class URLPatternSet { |
| // Test if the extent contains a URL. |
| bool MatchesURL(const GURL& url) const; |
| + // Test if the extent matches all URLs (for example, <all_urls>) |
|
Devlin
2014/07/21 23:43:53
nit: .
aboxhall
2014/07/22 17:00:09
Done.
|
| + bool MatchesAllURLs() const; |
| + |
| bool MatchesSecurityOrigin(const GURL& origin) const; |
| // Returns true if there is a single URL that would be in two extents. |
| @@ -91,6 +94,8 @@ class URLPatternSet { |
| bool allow_file_access, |
| std::string* error); |
| + // Converts to and from a vector of strings. |
| + scoped_ptr<std::vector<std::string> > ToStringVector() const; |
| bool Populate(const std::vector<std::string>& patterns, |
| int valid_schemes, |
| bool allow_file_access, |