forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement reset_on_disconnect() on AssociatedReceiver
I'm using AssociatedReceivers in the //remoting directory for our IPC and wanted a way to reset the receiver automatically when the process on the other side of the connection crashes. This is the same method I recently added to AssociatedRemote however the associate remote and receiver impls don't share a base class so I put it in the AssociatedReceiverBase header. Bug: NO_BUG Change-Id: Ie40101145e5a6446f9623803fdc93e05470bd97a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3268785 Reviewed-by: Yuwei Huang <yuweih@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/main@{#939936}
- Loading branch information
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters