Index: chrome/common/extensions/url_pattern.cc |
diff --git a/chrome/common/extensions/url_pattern.cc b/chrome/common/extensions/url_pattern.cc |
index 2fc6f56c88d6eba555ba4081c7aac5e5fba8f31f..7a4f8537c06201ba1910b0f5605ab7e6b22865e4 100644 |
--- a/chrome/common/extensions/url_pattern.cc |
+++ b/chrome/common/extensions/url_pattern.cc |
@@ -15,12 +15,12 @@ static const char* kValidSchemes[] = { |
chrome::kHttpsScheme, |
chrome::kFileScheme, |
chrome::kFtpScheme, |
- chrome::kChromeUIScheme, |
}; |
static const char kPathSeparator[] = "/"; |
-static bool IsValidScheme(const std::string& scheme) { |
+// static |
+bool URLPattern::IsValidScheme(const std::string& scheme) { |
for (size_t i = 0; i < arraysize(kValidSchemes); ++i) { |
if (scheme == kValidSchemes[i]) |
return true; |