Use thread-safe interface pointer in MdnsResponderAdapter.
The Mojo InterfacePtr is not thread-safe. The MdnsResponderAdapter, which is the client of the mDNS responder service via a Mojo binding, is created on the main thread to access the connector to the service manager, while being used exclusively on a WebRTC work thread. As a result, it should own a thread-safe InterfacePtr to the mDNS service. Bug: 905566 Change-Id: I8395f4163d0d9f17b954d082a580af673bb107f3 Reviewed-on: https://chromium-review.googlesource.com/c/1351596Reviewed-by:Sergey Ulanov <sergeyu@chromium.org> Commit-Queue: Qingsi Wang <qingsi@google.com> Cr-Commit-Position: refs/heads/master@{#611300}
Showing
Please register or sign in to comment