*Ex: Move to using a single DBusReply event source
Cleaned up the transition helpers and centralized the response
flow through a single EventSource which takes the serialized
protocol *Reply buffer to return. So now a DBus GError
can be returned on DBus specific errors and an application-specific
error will come back as a call-specific protocol buffer.
Shared protocol buffers now use the CODE_SIZE optimization
instead of MESSAGE_LITE for both ease of output (DebugString) and
server-usage. Additionally, this change contains cryptohome
commandline placeholders for each new command.
TEST=compile tested; cryptohome --action=mount_ex returns the correct debug dump.
same for add_key_ex and update_key_ex.
BUG=chromium:342905
Change-Id: I3189ddadef6665bdf7294c117c7b75dc96a79935
Reviewed-on: https://chromium-review.googlesource.com/186722
Reviewed-by: Will Drewry <wad@chromium.org>
Commit-Queue: Will Drewry <wad@chromium.org>
Tested-by: Will Drewry <wad@chromium.org>
6 files changed