Allow the externalfile scheme to be whitelisted as an allowed scheme for component...
commitb5b9459e213ab12de811c1db5d7db2d6d0f30429
authorraymes <raymes@chromium.org>
Thu, 12 Feb 2015 20:14:54 +0000 (12 12:14 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 20:16:01 +0000 (12 20:16 +0000)
treef76746ea9860ca39b00fab6cc594a442c6b19c14
parentd4a1524524b5afb11c6f87b51dc65231ce326388
Allow the externalfile scheme to be whitelisted as an allowed scheme for component extensions

The "externalfile" scheme is used by ChromeOS to provide local access to Drive
files. Component extensions can have access to URLs at these schemes as long as <all_urls>
permission is specified. However currently, even if they have access, this scheme
isn't added as an allowed scheme in Blink. This adds the scheme if it is permitted.

BUG=453202

Review URL: https://codereview.chromium.org/885263002

Cr-Commit-Position: refs/heads/master@{#316040}
chrome/common/extensions/permissions/permissions_data_unittest.cc
extensions/renderer/dispatcher.cc