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

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: Address more comments 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
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | chrome/test/live_sync/live_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..89f7edc082c6b21f80a5e9c7c94e1b1e7c307372 100644
--- a/chrome/test/live_sync/live_sync_test.h
+++ b/chrome/test/live_sync/live_sync_test.h
@@ -142,19 +142,23 @@ 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();
+ // Enable notifications on the server. This operation is available
+ // only if ServerSupportsNotificationControl() returned true.
+ void EnableNotifications();
+
// 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
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | chrome/test/live_sync/live_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698