Start the full restore service when the profile is ready.
Create the full restore service when the profile is ready. The full restore service must be called before 'NotifyUserProfileLoaded', because NotifyUserProfileLoaded notifies the ash to prepare the virtual desk restoration. However, the virtual desk restoration should be decided by the full restore service. So full restore service must be created before NotifyUserProfileLoaded is called. There is a full restore flag to control the full restore service: https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/chromeos/full_restore/full_restore_service_factory.cc;l=25 The flag is disabled currently, so before the feature is ready, no impact on the current implementation. PRD:go/cros-full-restore-prd Mock:go/cros-full-restore Design doc: go/chrome-os-full-restore-dd BUG=1146900 Change-Id: I21f68ce61166557eb24f69a2afbd8921fa091ebc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563192Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#832565}
Showing
Please register or sign in to comment