Index: chrome/common/extensions/url_pattern.h |
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h |
index c357b2d281f618d35f00f7ffaca00de9db0ead78..a16f2951be3363b88af2913ad465e89d962207d6 100644 |
--- a/chrome/common/extensions/url_pattern.h |
+++ b/chrome/common/extensions/url_pattern.h |
@@ -191,6 +191,8 @@ class URLPattern { |
// Returns true if this instance matches the specified URL. |
bool MatchesURL(const GURL& test) const; |
+ bool MatchesSecurityOrigin(const GURL& test) const; |
Aaron Boodman
2011/10/31 23:57:11
comment?
dcheng
2011/11/01 22:04:04
Done.
|
+ |
// Returns true if |test| matches our scheme. |
bool MatchesScheme(const std::string& test) const; |
@@ -243,6 +245,8 @@ class URLPattern { |
// Returns true if any of the |schemes| items matches our scheme. |
bool MatchesAnyScheme(const std::vector<std::string>& schemes) const; |
+ bool MatchesSecurityOriginHelper(const GURL& test) const; |
+ |
// If the URLPattern contains a wildcard scheme, returns a list of |
// equivalent literal schemes, otherwise returns the current scheme. |
std::vector<std::string> GetExplicitSchemes() const; |