buffet: Publish state updates.

This is very simple implementation which periodically
publishes all the state updates if any.  It should be
improved to reduce traffic/CPU consumption, see TODO.

BUG=chromium:434767
TEST=manual&&cros_workon_make --test buffet
CQ-DEPEND=CL:231035

Change-Id: I5f1e001c4407373381f0e0f864c1973369955422
Reviewed-on: https://chromium-review.googlesource.com/231024
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Anton Muhin <antonm@chromium.org>
Tested-by: Anton Muhin <antonm@chromium.org>
2 files changed
tree: 39a8fbb42dfffeef65cd262c43119a4f9083fa64
  1. buffet/