Index: extensions/common/url_pattern.h |
diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h |
index d844a1baa4a042111d174181160e80868f78fbdc..574a00c9a7ece7f358c8ec7ce25dc18b721fd3fb 100644 |
--- a/extensions/common/url_pattern.h |
+++ b/extensions/common/url_pattern.h |
@@ -47,14 +47,16 @@ class URLPattern { |
public: |
// A collection of scheme bitmasks for use with valid_schemes. |
enum SchemeMasks { |
- SCHEME_NONE = 0, |
- SCHEME_HTTP = 1 << 0, |
- SCHEME_HTTPS = 1 << 1, |
- SCHEME_FILE = 1 << 2, |
- SCHEME_FTP = 1 << 3, |
- SCHEME_CHROMEUI = 1 << 4, |
- SCHEME_EXTENSION = 1 << 5, |
+ SCHEME_NONE = 0, |
+ SCHEME_HTTP = 1 << 0, |
+ SCHEME_HTTPS = 1 << 1, |
+ SCHEME_FILE = 1 << 2, |
+ SCHEME_FTP = 1 << 3, |
+ SCHEME_CHROMEUI = 1 << 4, |
+ SCHEME_EXTENSION = 1 << 5, |
SCHEME_FILESYSTEM = 1 << 6, |
+ SCHEME_WS = 1 << 7, |
+ SCHEME_WSS = 1 << 8, |
// IMPORTANT! |
// SCHEME_ALL will match every scheme, including chrome://, chrome- |
@@ -62,7 +64,7 @@ class URLPattern { |
// implications, third-party extensions should usually not be able to get |
// access to URL patterns initialized this way. If there is a reason |
// for violating this general rule, document why this it safe. |
- SCHEME_ALL = -1, |
+ SCHEME_ALL = -1, |
}; |
// Error codes returned from Parse(). |