| Index: chrome/browser/sync/profile_sync_service.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
|
| index 4ddaf6dadf56327a41c5bfd2935a018733d8450b..ebdc8d4b6bc9803c69cb57f225fc021e42932fb4 100644
|
| --- a/chrome/browser/sync/profile_sync_service.cc
|
| +++ b/chrome/browser/sync/profile_sync_service.cc
|
| @@ -1001,6 +1001,15 @@ bool ProfileSyncService::FirstSetupInProgress() const {
|
| return !HasSyncSetupCompleted() && setup_in_progress_;
|
| }
|
|
|
| +void ProfileSyncService::SetSetupInProgress(bool setup_in_progress) {
|
| + setup_in_progress_ = setup_in_progress;
|
| + if (!setup_in_progress) {
|
| + if (sync_initialized()) {
|
| + ReconfigureDatatypeManager();
|
| + }
|
| + }
|
| +}
|
| +
|
| bool ProfileSyncService::sync_initialized() const {
|
| return backend_initialized_;
|
| }
|
|
|