diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 18:15:11 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 18:15:11 +0000 |
commit | 1677d2607656cedbcdf3e0c196e916ae80978bef (patch) | |
tree | d53e5217f6e7fa8bd421ead9a88c8965fb2d604b /chrome/browser/web_applications | |
parent | 8368e7cae1312e6247a794556e275d4954a809ba (diff) | |
download | chromium_src-1677d2607656cedbcdf3e0c196e916ae80978bef.zip chromium_src-1677d2607656cedbcdf3e0c196e916ae80978bef.tar.gz chromium_src-1677d2607656cedbcdf3e0c196e916ae80978bef.tar.bz2 |
Allow "chrome-extension://" to be used as web app url.
BUG=29201
TEST=Verify a web app shortcut for "chrome-extension://" url could be created.
Review URL: http://codereview.chromium.org/2193002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48294 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_applications')
-rw-r--r-- | chrome/browser/web_applications/web_app.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc index d84ad67..5b2ecac 100644 --- a/chrome/browser/web_applications/web_app.cc +++ b/chrome/browser/web_applications/web_app.cc @@ -709,6 +709,7 @@ bool IsValidUrl(const GURL& url) { chrome::kFtpScheme, chrome::kHttpScheme, chrome::kHttpsScheme, + chrome::kExtensionScheme, }; for (size_t i = 0; i < arraysize(kValidUrlSchemes); ++i) { |