buffet: Add 'origin' property to Command

Now it is possible to distinguish commands that came from local
clients from those that were sent from the cloud.

The vendor applications could make a decision on how to process
the command depending on where it came from. Also, the command
status update code could do different things depending on whether
status updates need to go to the cloud or the local client.

BUG=None
TEST=`FEATURES=test emerge-link buffet`

Change-Id: I80156c5b43dace0b79b87b86618bfec017b30de9
Reviewed-on: https://chromium-review.googlesource.com/266563
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Trybot-Ready: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
11 files changed
tree: 5062294c10d176f739fbaf49aab5834ecb9dcd50
  1. buffet/