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

Unified Diff: chrome/browser/sync/internal_api/sync_manager.h

Issue 7655055: [Sync] Make BackendMigrator not wait for full sync cycles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix race condition 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/browser/sync/internal_api/sync_manager.h
diff --git a/chrome/browser/sync/internal_api/sync_manager.h b/chrome/browser/sync/internal_api/sync_manager.h
index 2dfe1259170ce337e09796d94877abb854762b30..0fbb6dcebe5d4d0ec46539481e9a9aa204ab4512 100644
--- a/chrome/browser/sync/internal_api/sync_manager.h
+++ b/chrome/browser/sync/internal_api/sync_manager.h
@@ -457,16 +457,16 @@ class SyncManager {
// Puts the SyncScheduler into a mode where no normal nudge or poll traffic
// will occur, but calls to RequestConfig will be supported. If |callback|
- // is provided, it will be invoked (from the internal SyncScheduler) when
+ // is non-null, it will be invoked (from the internal SyncScheduler) when
// the thread has changed to configuration mode.
- void StartConfigurationMode(ModeChangeCallback* callback);
+ void StartConfigurationMode(const base::Closure& callback);
// Switches the mode of operation to CONFIGURATION_MODE and
// schedules a config task to fetch updates for |types|.
void RequestConfig(const syncable::ModelTypeBitSet& types,
sync_api::ConfigureReason reason);
- void RequestCleanupDisabledTypes();
+ void RequestCleanupDisabledTypes(const base::Closure& callback);
// Request a clearing of all data on the server
void RequestClearServerData();

Powered by Google App Engine
This is Rietveld 408576698