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

Unified Diff: trunk/src/extensions/common/csp_validator.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/extensions/common/csp_validator.cc
===================================================================
--- trunk/src/extensions/common/csp_validator.cc (revision 289319)
+++ trunk/src/extensions/common/csp_validator.cc (working copy)
@@ -66,9 +66,9 @@
if (source == "'self'" ||
source == "'none'" ||
source == "http://127.0.0.1" ||
- base::LowerCaseEqualsASCII(source, "blob:") ||
- base::LowerCaseEqualsASCII(source, "filesystem:") ||
- base::LowerCaseEqualsASCII(source, "http://localhost") ||
+ LowerCaseEqualsASCII(source, "blob:") ||
+ LowerCaseEqualsASCII(source, "filesystem:") ||
+ LowerCaseEqualsASCII(source, "http://localhost") ||
StartsWithASCII(source, "http://127.0.0.1:", false) ||
StartsWithASCII(source, "http://localhost:", false) ||
StartsWithASCII(source, "https://", true) ||
« no previous file with comments | « trunk/src/content/test/plugin/plugin_test.cc ('k') | trunk/src/extensions/renderer/runtime_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698