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

Unified Diff: extensions/common/extension.cc

Issue 226663003: Allow content script insertion on about:-URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove permission warning for about:-scheme Created 6 years, 8 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/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 8532842438cd13d340f975197767f68c927f3082..e9a84eb2c78d0f05b304ec92d29223d3492380cd 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -81,7 +81,8 @@ const int Extension::kValidHostPermissionSchemes = URLPattern::SCHEME_CHROMEUI |
URLPattern::SCHEME_HTTP |
URLPattern::SCHEME_HTTPS |
URLPattern::SCHEME_FILE |
- URLPattern::SCHEME_FTP;
+ URLPattern::SCHEME_FTP |
+ URLPattern::SCHEME_ABOUT;
//
// Extension

Powered by Google App Engine
This is Rietveld 408576698