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

Unified Diff: chrome/common/extensions/user_script.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 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: chrome/common/extensions/user_script.cc
diff --git a/chrome/common/extensions/user_script.cc b/chrome/common/extensions/user_script.cc
index f71de5c3a4ee816778f8b148f38ae2deb66e2459..d9e9d1279f15c97c70a63880b823dd251dc0d0eb 100644
--- a/chrome/common/extensions/user_script.cc
+++ b/chrome/common/extensions/user_script.cc
@@ -39,7 +39,8 @@ const char UserScript::kFileExtension[] = ".user.js";
// static
const int UserScript::kValidUserScriptSchemes =
URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS |
- URLPattern::SCHEME_FILE | URLPattern::SCHEME_FTP;
+ URLPattern::SCHEME_HTTPSV | URLPattern::SCHEME_FILE |
+ URLPattern::SCHEME_FTP;
bool UserScript::HasUserScriptFileExtension(const GURL& url) {
return EndsWith(url.ExtractFileName(), kFileExtension, false);

Powered by Google App Engine
This is Rietveld 408576698