-
Kyle Horimoto authored
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/1110953Reviewed-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}
456a4117