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 fa8e9d96d9d52dc48575e5530a1895b6c42b5657..4423e87bd162746f32a19ed35388ce2a32e5b1a2 100644 |
--- a/chrome/browser/sync/profile_sync_service_harness.h |
+++ b/chrome/browser/sync/profile_sync_service_harness.h |
@@ -72,6 +72,10 @@ class ProfileSyncServiceHarness : public ProfileSyncServiceObserver { |
// since the previous one. Returns true if a sync cycle has completed. |
bool AwaitSyncCycleCompletion(const std::string& reason); |
+ // Blocks the caller until the sync has been disabled for this client. Returns |
+ // true if sync is disabled. |
+ bool AwaitSyncDisabled(const std::string& reason); |
+ |
// Blocks the caller until this harness has observed that the sync engine |
// has downloaded all the changes seen by the |partner| harness's client. |
bool WaitUntilTimestampMatches( |
@@ -183,6 +187,9 @@ class ProfileSyncServiceHarness : public ProfileSyncServiceObserver { |
// full sync cycle is not expected to occur. |
WAITING_FOR_SYNC_CONFIGURATION, |
+ // The sync client is waiting for the sync to be disabled for this client. |
+ WAITING_FOR_SYNC_DISABLED, |
+ |
// The sync client needs a passphrase in order to decrypt data. |
SET_PASSPHRASE_FAILED, |