buffet: Add abstract CloudCommandUpdateInterface

Added a simple interface for DeviceRegistrationInfo class that just deals
with updating the command status on the cloud without having to use the
DeviceRegistrationInfo class directly.

This will allow to mock out that class more easily in the tests for
subsequent CLs.

BUG=brillo:1202
TEST=`FEATURES=test emerge-link buffet`

Change-Id: I04b931bb2c54e18206e2e3cf588b2e2ce86d9507
Reviewed-on: https://chromium-review.googlesource.com/282260
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
4 files changed
tree: acd6b67d99c779603e93c9c385a52623cdeb9353
  1. buffet/