| Index: components/search_engines/search_engine_data_type_controller_unittest.cc
|
| diff --git a/components/search_engines/search_engine_data_type_controller_unittest.cc b/components/search_engines/search_engine_data_type_controller_unittest.cc
|
| index 4f308855c213d2c79c3da70627f2f3aaff2f28ea..329dc836be0f7a95c9bb6145f004c17c60b16ccf 100644
|
| --- a/components/search_engines/search_engine_data_type_controller_unittest.cc
|
| +++ b/components/search_engines/search_engine_data_type_controller_unittest.cc
|
| @@ -157,6 +157,9 @@ TEST_F(SyncSearchEngineDataTypeControllerTest, Stop) {
|
| search_engine_dtc_.Stop();
|
| EXPECT_EQ(syncer::DataTypeController::NOT_RUNNING,
|
| search_engine_dtc_.state());
|
| + // NonUIDataTypeController::Stop posts call to StopLocalService to model
|
| + // thread. We run message loop for this call to take effect.
|
| + base::RunLoop().RunUntilIdle();
|
| EXPECT_FALSE(syncable_service_.syncing());
|
| }
|
|
|
|
|