summaryrefslogtreecommitdiffstats
path: root/extensions/common/url_pattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/url_pattern.h')
-rw-r--r--extensions/common/url_pattern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h
index 70109db..b4c566b 100644
--- a/extensions/common/url_pattern.h
+++ b/extensions/common/url_pattern.h
@@ -78,6 +78,9 @@ class URLPattern {
// The <all_urls> string pattern.
static const char kAllUrlsPattern[];
+ // Returns true if the given |scheme| is considered valid for extensions.
+ static bool IsValidSchemeForExtensions(const std::string& scheme);
+
explicit URLPattern(int valid_schemes);
// Convenience to construct a URLPattern from a string. If the string is not