[hid] Replicate self-destruct logic in connection fake
HidConnectionImpl is self-owned and will self-destruct on disconnection of the HidConnection or HidConnectionWatcher. This CL modifies the FakeHidConnection used in tests so it behaves the same way. BUG=1126689 Change-Id: I8bbdcca7c77699749c6022f01b8a456c4891cdb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441151 Commit-Queue: Reilly Grant <reillyg@chromium.org> Auto-Submit: Matt Reynolds <mattreynolds@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#812858}
Showing
Please register or sign in to comment