forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fuchsia] Allow published service name to be set explicitly.
The ScopedService* publishing templates infer the service name from the supplied Interface class. It is sometimes desirable to publish a service under a manually-specified name, e.g. if the service isn't actually defined as [Discoverable], or it's needed to publish it under a different name. The templates now accept an explicit |name| parameter which defaults to the name of the Interface, if available. Bug: b/171256428 Test: locally tested and pass unit tests Change-Id: If206fea8a7555baea5806b8526be2affc1e0dc74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486620 Commit-Queue: Hai Bi <bihai@google.com> Reviewed-by: Kevin Marshall <kmarshall@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#819405}
- Loading branch information
Hai Bi
authored and
Commit Bot
committed
Oct 21, 2020
1 parent
ed6b0c6
commit e6243cc
Showing
3 changed files
with
26 additions
and
9 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