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

Unified Diff: chrome/common/extensions/extension.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/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index fb96f92ec5837d61823648829ee6be9bfe31c801..079569ab67cb872a08132bf5b73fa3c5e0a84fb3 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -1,3 +1,4 @@
+// TODO(sqs): add httpsv?
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -251,7 +252,8 @@ const size_t Extension::kNumHostedAppPermissions =
const char Extension::kOldUnlimitedStoragePermission[] = "unlimited_storage";
const int Extension::kValidWebExtentSchemes =
- URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS;
+ URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS |
+ URLPattern::SCHEME_HTTPSV;
const int Extension::kValidHostPermissionSchemes =
(UserScript::kValidUserScriptSchemes |
@@ -996,7 +998,8 @@ bool Extension::LoadLaunchURL(const DictionaryValue* manifest,
if (gallery_url.is_valid()) {
launch_web_url_ = gallery_url.spec();
- URLPattern pattern(URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS);
+ URLPattern pattern(URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS |
+ URLPattern::SCHEME_HTTPSV);
pattern.Parse(gallery_url.spec());
pattern.set_path(pattern.path() + '*');
extent_.AddPattern(pattern);

Powered by Google App Engine
This is Rietveld 408576698