DescriptionSwitch media stream permissions to use IsOriginSecure() instead of SchemeIsSecure().
In particular, note that this means that media permissions are persisted on
http://localhost .
The change also updates the old media stream permission tests (which
were no longer testing anything meaningful).
(This is a reland of https://codereview.chromium.org/1276373004/ with a fixed
test, after it was reverted in https://codereview.chromium.org/1276373004/ )
BUG=295723, 362214, 509844
Committed: https://crrev.com/64d923cbb60f7ac1d7d21e63224b8120bd323f1c
Cr-Commit-Position: refs/heads/master@{#343276}
Patch Set 1 : Copy of patch #11 from the original CL. #Patch Set 2 : Fix test. #
Total comments: 5
Patch Set 3 : Address nits. #
Messages
Total messages: 10 (4 generated)
|