Index: extensions/common/url_pattern.cc |
diff --git a/extensions/common/url_pattern.cc b/extensions/common/url_pattern.cc |
index fcd50f676dcf709777b3df33894adeecd3b213e9..0b318d95ea28b0d3de5b9087417ccd92fcdafdb1 100644 |
--- a/extensions/common/url_pattern.cc |
+++ b/extensions/common/url_pattern.cc |
@@ -31,17 +31,16 @@ const char* const kValidSchemes[] = { |
url::kHttpScheme, url::kHttpsScheme, |
url::kFileScheme, url::kFtpScheme, |
content::kChromeUIScheme, extensions::kExtensionScheme, |
- url::kFileSystemScheme, |
+ url::kFileSystemScheme, url::kWsScheme, |
+ url::kWssScheme, |
}; |
const int kValidSchemeMasks[] = { |
- URLPattern::SCHEME_HTTP, |
- URLPattern::SCHEME_HTTPS, |
- URLPattern::SCHEME_FILE, |
- URLPattern::SCHEME_FTP, |
- URLPattern::SCHEME_CHROMEUI, |
- URLPattern::SCHEME_EXTENSION, |
- URLPattern::SCHEME_FILESYSTEM, |
+ URLPattern::SCHEME_HTTP, URLPattern::SCHEME_HTTPS, |
+ URLPattern::SCHEME_FILE, URLPattern::SCHEME_FTP, |
+ URLPattern::SCHEME_CHROMEUI, URLPattern::SCHEME_EXTENSION, |
+ URLPattern::SCHEME_FILESYSTEM, URLPattern::SCHEME_WS, |
+ URLPattern::SCHEME_WSS, |
}; |
static_assert(arraysize(kValidSchemes) == arraysize(kValidSchemeMasks), |