Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5880)

Unified Diff: chrome/common/extensions/url_pattern.h

Issue 8312005: Ignore paths when matching patterns for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4a5484ff0f6f7dbccd951fc6bef0f0762ad44cc7 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;
+
// Returns true if |test| matches our scheme.
bool MatchesScheme(const std::string& test) const;

Powered by Google App Engine
This is Rietveld 408576698