| Index: components/sync_driver/startup_controller.cc
|
| diff --git a/components/sync_driver/startup_controller.cc b/components/sync_driver/startup_controller.cc
|
| index a8ae9419bbc1fda307597a0d0987f2d615851e88..631cdcce3466a2e60ab2bad542f0b951427be415 100644
|
| --- a/components/sync_driver/startup_controller.cc
|
| +++ b/components/sync_driver/startup_controller.cc
|
| @@ -78,8 +78,11 @@ void StartupController::Reset(const syncer::ModelTypeSet registered_types) {
|
| registered_types_ = registered_types;
|
| }
|
|
|
| -void StartupController::set_setup_in_progress(bool in_progress) {
|
| - setup_in_progress_ = in_progress;
|
| +void StartupController::SetSetupInProgress(bool setup_in_progress) {
|
| + setup_in_progress_ = setup_in_progress;
|
| + if (setup_in_progress_) {
|
| + TryStart();
|
| + }
|
| }
|
|
|
| bool StartupController::StartUp(StartUpDeferredOption deferred_option) {
|
|
|