Chromium Code Reviews| Index: chrome/common/extensions/url_pattern_set.h |
| diff --git a/chrome/common/extensions/url_pattern_set.h b/chrome/common/extensions/url_pattern_set.h |
| index d26321c522b9d1125c2624a3a8c20a9e235853eb..a6b3dfec3fbda07ac36c3e3e60cc9a35e6ba5b61 100644 |
| --- a/chrome/common/extensions/url_pattern_set.h |
| +++ b/chrome/common/extensions/url_pattern_set.h |
| @@ -56,6 +56,8 @@ class URLPatternSet { |
| // Test if the extent contains a URL. |
| bool MatchesURL(const GURL& url) const; |
| + bool MatchesSecurityOrigin(const std::string& origin) const; |
|
Aaron Boodman
2011/10/20 06:53:51
Don't forget to add comments before checking this
Aaron Boodman
2011/10/20 06:53:51
GURL& ?
|
| + |
| // Returns true if there is a single URL that would be in two extents. |
| bool OverlapsWith(const URLPatternSet& other) const; |