buffet: Pass TaskRunner to DeviceRegistrationInfo

To help with unit testing, pass TaskRunner to DeviceRegistrationInfo
instead of the latter using base::MessageLoop directly.

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

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