Allow Device Service access from any thread
This allows multiple device.mojom.DeviceService connections to the Device Service and changes content::GetDeviceService() to safely maintain independent sequence-local connections. The new behavior corrects an issue where an inadvertent background- thread client could trample the global Device Service instance early in startup, leaving all main-thread clients with a permanently broken connection. Bug: 1041804 Change-Id: I3efcb661c9508e1e0007d00f2f9f963c26220de4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2168829Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#763452}
Showing
Please register or sign in to comment