Index: chrome/browser/sync/profile_sync_service_harness.h |
diff --git a/chrome/browser/sync/profile_sync_service_harness.h b/chrome/browser/sync/profile_sync_service_harness.h |
index 35bb19a110da811cd4dcc3c6b673aa1bcea36c0a..9b2d7eb93e1146fa7249c92ab3d7a9713e68fbde 100644 |
--- a/chrome/browser/sync/profile_sync_service_harness.h |
+++ b/chrome/browser/sync/profile_sync_service_harness.h |
@@ -195,6 +195,10 @@ class ProfileSyncServiceHarness |
// Gets the |auto_start_enabled_| variable from the |service_|. |
bool AutoStartEnabled(); |
+ // Returns true if a status change took place, false on timeout. |
+ bool AwaitStatusChangeWithTimeout(int timeout_milliseconds, |
+ const std::string& reason); |
+ |
private: |
friend class StateChangeTimeoutEvent; |
@@ -286,10 +290,6 @@ class ProfileSyncServiceHarness |
// change has taken place. |
bool RunStateChangeMachine(); |
- // Returns true if a status change took place, false on timeout. |
- bool AwaitStatusChangeWithTimeout(int timeout_milliseconds, |
- const std::string& reason); |
- |
// A helper for implementing IsDataSynced() and IsFullySynced(). |
bool IsDataSyncedImpl( |
const syncer::sessions::SyncSessionSnapshot& snapshot); |