ime: Rewrite the IME service public protos.
Previously, the Wrapper message was defined to be: Wrapper { internal_request, internal_reply, reply, request } However, internally, internal_request and internal_reply were the same object, so it seemed a bit overkill. Change Wrapper to just have a public_message or a private_message. Although it's more type-safe to distinguish between request/reply, the terminology can be confusing. Since the private messages don't distinguish between request/reply, might as well do the same for the public messages too. Also change the terminology from internal to public/private, since it better corresponds to the existing terminology about public/private APIs. Fix a bug where the protos were not being serialized at all. Change-Id: I98e96dadf42ce8ccb1a1f28cdbdb06c2386ef2cf Bug: 1019541 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2423828 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Keith Lee <keithlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#810093}
Showing
Please register or sign in to comment