Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Floss] Refactor FlossAdapterClient with generalized method call
FlossAdapterClient's D-Bus method calls contain mostly boilerplate codes; this refactors the common logic to a reusable utility function so that each method call can only contain just a minimum definition without code repetitions. This will pay off in the next patches where we add a lot more interfaces that map to D-Bus method calls. Bug: b:202334519 Change-Id: I6da47c3427a296f1be98946bf638c248dbf2026e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3254976 Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-by: Chris Mumford <cmumford@google.com> Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/main@{#939086}
- Loading branch information
Sonny Sasaka
authored and
Chromium LUCI CQ
committed
Nov 6, 2021
1 parent
d01ba1d
commit 9682c71
Showing
5 changed files
with
327 additions
and
46 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
Oops, something went wrong.