Web MIDI: allow http://localhost to prompt sysex permission
commit78fb2d9a429de070b0d7c9c57710cffa52c4b52b
authortoyoshim <toyoshim@chromium.org>
Thu, 2 Apr 2015 20:27:31 +0000 (2 13:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Apr 2015 20:27:58 +0000 (2 20:27 +0000)
tree4e2bdac2e3cc9ad0562d20cc34172dd35991ceb7
parent54caa7821b5434ed5c410fe72161e5aa0302366f
Web MIDI: allow localhost to prompt sysex permission

Allow to obtain a sysex permission for localhost even if the scheme is
non-secure. This is inteded for to use for testing.

TEST=manual check with http://localhost:xxx and http://127.0.0.1:xxx
BUG=470170

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

Cr-Commit-Position: refs/heads/master@{#323555}
chrome/browser/content_settings/permission_context_base.cc