Index: sync/internal_api/sync_manager.h |
diff --git a/sync/internal_api/sync_manager.h b/sync/internal_api/sync_manager.h |
index 6076ab7a5baafae04e4a342bc0ff23bfc43fd07e..527b7f9a46881c0fe60842323f337642f03d69c2 100644 |
--- a/sync/internal_api/sync_manager.h |
+++ b/sync/internal_api/sync_manager.h |
@@ -497,24 +497,20 @@ class SyncManager { |
// error to call this when we don't have pending keys. |
void SetDecryptionPassphrase(const std::string& passphrase); |
- // 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 |
- // the thread has changed to configuration mode. |
- 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 browser_sync::ModelSafeRoutingInfo& routing_info, |
- const syncable::ModelTypeSet& types, |
- sync_api::ConfigureReason reason); |
- |
- void RequestCleanupDisabledTypes( |
- const browser_sync::ModelSafeRoutingInfo& routing_info); |
- |
// Request a clearing of all data on the server |
void RequestClearServerData(); |
+ // Switches the mode of operation to CONFIGURATION_MODE and performs |
+ // any configuration tasks needed as determined by the params. Once complete, |
+ // syncer will remain in CONFIGURATION_MODE until StartSyncingNormally is |
+ // called. |
+ void ConfigureSyncer( |
+ ConfigureReason reason, |
+ const syncable::ModelTypeSet& types_to_config, |
+ const browser_sync::ModelSafeRoutingInfo& new_routing_info, |
+ const base::Closure& ready_task, |
+ const base::Closure& retry_task); |
+ |
// Adds a listener to be notified of sync events. |
// NOTE: It is OK (in fact, it's probably a good idea) to call this before |
// having received OnInitializationCompleted. |