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

Unified Diff: extensions/common/user_script.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/user_script.cc
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index 84c1236c604045ee0e8dc82ecdafa9556918364a..2f4b73b1ff148960dab4c8bd724ebec16a0fa86b 100644
--- a/extensions/common/user_script.cc
+++ b/extensions/common/user_script.cc
@@ -32,7 +32,8 @@ enum {
URLPattern::SCHEME_HTTP |
URLPattern::SCHEME_HTTPS |
URLPattern::SCHEME_FILE |
- URLPattern::SCHEME_FTP
+ URLPattern::SCHEME_FTP |
+ URLPattern::SCHEME_ABOUT
};
// static
« extensions/common/url_pattern.cc ('K') | « extensions/common/url_pattern_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698