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

Unified Diff: chrome/test/live_sync/live_sync_test.h

Issue 7655055: [Sync] Make BackendMigrator not wait for full sync cycles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 years, 4 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/test/live_sync/live_sync_test.h
diff --git a/chrome/test/live_sync/live_sync_test.h b/chrome/test/live_sync/live_sync_test.h
index 9c848f920542d990d22b5d7ede023490bf1e8bbd..88eb36c6882db94c04de6373bf0a46f4fb1d1739 100644
--- a/chrome/test/live_sync/live_sync_test.h
+++ b/chrome/test/live_sync/live_sync_test.h
@@ -142,19 +142,21 @@ class LiveSyncTest : public InProcessBrowserTest {
// Returns true if the server being used supports controlling
// notifications.
- bool ServerSupportsNotificationControl();
+ bool ServerSupportsNotificationControl() const;
// Disable notifications on the server. This operation is available
// only if ServerSupportsNotificationControl() returned true.
void DisableNotifications();
+ void EnableNotifications();
Raghu Simha 2011/09/01 03:53:06 Add a similar comment as the one above DisableNoti
akalin 2011/09/01 04:03:24 Done.
+
// Trigger a notification to be sent to all clients. This operation
// is available only if ServerSupportsNotificationControl() returned
// true.
void TriggerNotification(const syncable::ModelTypeSet& changed_types);
// Returns true if the server being used supports injecting errors.
- bool ServerSupportsErrorTriggering();
+ bool ServerSupportsErrorTriggering() const;
// Triggers a migration for one or more datatypes, and waits
// for the server to complete it. This operation is available

Powered by Google App Engine
This is Rietveld 408576698