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

Unified Diff: extensions/common/url_pattern.h

Issue 2449913002: Support WebSocket in WebRequest API. (Closed)
Patch Set: Refactor tests; add test; update documentation. Created 3 years, 10 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: extensions/common/url_pattern.h
diff --git a/extensions/common/url_pattern.h b/extensions/common/url_pattern.h
index d844a1baa4a042111d174181160e80868f78fbdc..9ff24defa2daca4821b0eda97d20a01dc841ef7b 100644
--- a/extensions/common/url_pattern.h
+++ b/extensions/common/url_pattern.h
@@ -55,6 +55,8 @@ class URLPattern {
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-

Powered by Google App Engine
This is Rietveld 408576698