Mojo: Introduce [Uuid] attribute
This allows interfaces to be tagged with a UUID within mojom files. The UUID is propagated to a base::Token constant nested within the generated interface class for C++ bindings. This allows consumers to establish stable runtime identifiers for interfaces that can persist independently from other interface details, including the superficial name of the definition. Bug: 1136652 Change-Id: Ib69bc116015606e029a02a663a578e08b0755e78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462378Reviewed-by:Darin Fisher <darin@chromium.org> Reviewed-by:
Erik Chen <erikchen@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#815663}
Showing
Please register or sign in to comment