| 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);
|
|
|