buffet: Remove initial OnRegistrationStatusChanged call

This call was neccecary because DeviceRegistrationInfo calls callback only
if values actually changed, skipping callback for intial value. We still need to
call callback there too. Solved by additional stus change in Load().

Also some reformating and renames.

BUG=brillo:592
TEST=covered by buffet_Registration

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