Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[fuchsia] Add basic implementations of fidl::AsyncEventHandler"
This reverts commit f412da9. Reason for revert: FidlEventHandlerTest is failing on bots: https://ci.chromium.org/ui/p/chromium/builders/ci/fuchsia-x64-rel/4408/overview https://ci.chromium.org/ui/p/chromium/builders/ci/fuchsia-arm64-rel/4835/overview Original change's description: > [fuchsia] Add basic implementations of fidl::AsyncEventHandler > > HLCPP bindings had a `set_error_handler` method on the `InterfacePtr` > but that's no longer available for `fidl::Client`. Instead, it takes > a `fidl::AsyncEventHandler` that has an `on_fidl_error` method as > well as methods for other events available on the `Protocol`. The new > API shape creates quite a bit of extra boilerplate for just adding a > closure or logging on fidl error (when a service is disconnected). > > This CL adds two basic implementations, one that just logs an error, > and another that takes a callback. > > Bug: 1351487 > Change-Id: If6ba87f24751af8daafb54904652164eb47d9875 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4325064 > Reviewed-by: Guocheng Wei <guochengwei@chromium.org> > Reviewed-by: David Dorwin <ddorwin@chromium.org> > Commit-Queue: Bryant Chandler <bryantchandler@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1118929} Bug: 1351487 Change-Id: I04bf251545eb950475e75b629f4c9eae17b5fd29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4349565 Owners-Override: Tim Sergeant <tsergeant@chromium.org> Commit-Queue: Tim Sergeant <tsergeant@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1119136}
- Loading branch information
1 parent
9b90c5a
commit 1a79da6
Showing
7 changed files
with
20 additions
and
254 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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