Use IsOriginSecure when checking Web MIDI SYSEX capability.
commit298d7eb01ab6f9c1f8781a31c2fddc13f9e4e4e2
authorpalmer <palmer@chromium.org>
Fri, 17 Apr 2015 21:09:23 +0000 (17 14:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Apr 2015 21:09:40 +0000 (17 21:09 +0000)
treeccddaa5e8dde3bc7e87a134656eb42b357ab413c
parent6d2c9d9585a9184bb855dc3bbed81a25b3bf0dc8
Use IsOriginSecure when checking Web MIDI SYSEX capability.

Rather than the previous ad hoc check. IsOriginSecure is the standard way.

BUG=362214,470170

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

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