[CrOS MultiDevice] Initialize MultiDeviceSetupService.
This CL:
(1) Initializes the SetupFlowCompletionRecorder and
AccountStatusChangeDelegateNotifier classes when the service starts
up. Previously, they were not actually integrated into the service.
(2) Adds a MultiDeviceSetupInitializer class which initializes the
service by waiting until the DeviceSyncClient has loaded the local
remote device before continuing. This task must complete before
AccountStatusChangeDelegateNotifier is created as that class
assumes that the client has been fully initialized.
(3) Adjusts ProfileImpl to pass various parameters to the service which
are required for the initialization described above.
Bug: 824568
Change-Id: I09240f00d29cd44e2768e3068b3284abe16b3801
Reviewed-on: https://chromium-review.googlesource.com/1110953
Reviewed-by: Ryan Hansberry <hansberry@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569754}Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .