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

Unified Diff: extensions/common/extension.cc

Issue 2449913002: Support WebSocket in WebRequest API. (Closed)
Patch Set: git cl format 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
« no previous file with comments | « extensions/common/api/web_request.json ('k') | extensions/common/url_pattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index e804db0539e88cbe89a22d6d85860eb5a8977f7d..6e86d9e07ddccbf64dc3c8575eded96885597e98 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -87,11 +87,10 @@ const int Extension::kValidBookmarkAppSchemes = URLPattern::SCHEME_HTTP |
URLPattern::SCHEME_HTTPS |
URLPattern::SCHEME_EXTENSION;
-const int Extension::kValidHostPermissionSchemes = URLPattern::SCHEME_CHROMEUI |
- URLPattern::SCHEME_HTTP |
- URLPattern::SCHEME_HTTPS |
- URLPattern::SCHEME_FILE |
- URLPattern::SCHEME_FTP;
+const int Extension::kValidHostPermissionSchemes =
+ URLPattern::SCHEME_CHROMEUI | URLPattern::SCHEME_HTTP |
+ URLPattern::SCHEME_HTTPS | URLPattern::SCHEME_FILE |
+ URLPattern::SCHEME_FTP | URLPattern::SCHEME_WS | URLPattern::SCHEME_WSS;
//
// Extension
« no previous file with comments | « extensions/common/api/web_request.json ('k') | extensions/common/url_pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698