[EnumeratDevices] Do not report the device ID without permissions.
Recently, the spec has changed to guarantee better privacy protection in enumerateDevices()[1]. The spec change prescribes that at most one device per-type should be shown without ID information if the user did not grant permissions. This CL changes the behavior of enumerateDevice as prescribed but keeping it behind a flag to better control the rollout of the change. [1] https://github.com/w3c/mediacapture-main/commit/837ceeff14509ba1e5200c27b9bd190f91f9977c Bug: 1019176 Change-Id: I5a15d15363c50e45d86ddb241eccd9a4bd8698b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1964495Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Commit-Queue: Armando Miraglia <armax@chromium.org> Cr-Commit-Position: refs/heads/master@{#735462}
Showing
Please register or sign in to comment