Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: chrome/browser/sync/profile_sync_service_harness.h

Issue 7481009: Test birtday error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typos in testserver.py Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698