| Index: chrome/browser/sync/profile_sync_service_harness.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_harness.cc b/chrome/browser/sync/profile_sync_service_harness.cc
|
| index d27514763ae87bbf30c7cc7b88e9abd1bd377166..dc6ac98b323a8676db5a71b260fc111387fc4da4 100644
|
| --- a/chrome/browser/sync/profile_sync_service_harness.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_harness.cc
|
| @@ -424,8 +424,13 @@ bool ProfileSyncServiceHarness::AwaitStatusChangeWithTimeout(
|
| timeout_milliseconds);
|
| loop->Run();
|
| loop->SetNestableTasksAllowed(did_allow_nestable_tasks);
|
| - LogClientInfo("AwaitStatusChangeWithTimeout succeeded");
|
| - return timeout_signal->Abort();
|
| + if (timeout_signal->Abort()) {
|
| + LogClientInfo("AwaitStatusChangeWithTimeout succeeded");
|
| + return true;
|
| + } else {
|
| + LogClientInfo("AwaitStatusChangeWithTimeout timed out");
|
| + return false;
|
| + }
|
| }
|
|
|
| ProfileSyncService::Status ProfileSyncServiceHarness::GetStatus() {
|
|
|