diff options
Diffstat (limited to 'sync/internal_api/public')
-rw-r--r-- | sync/internal_api/public/sync_manager.h | 4 | ||||
-rw-r--r-- | sync/internal_api/public/test/fake_sync_manager.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h index 9ae1940..d7a5ce2 100644 --- a/sync/internal_api/public/sync_manager.h +++ b/sync/internal_api/public/sync_manager.h @@ -362,6 +362,9 @@ class SYNC_EXPORT SyncManager { // any configuration tasks needed as determined by the params. Once complete, // syncer will remain in CONFIGURATION_MODE until StartSyncingNormally is // called. + // Data whose types are not in |new_routing_info| are purged from sync + // directory. The purged data is backed up in delete journal for recovery in + // next session if its type is in |failed_types|. // |ready_task| is invoked when the configuration completes. // |retry_task| is invoked if the configuration job could not immediately // execute. |ready_task| will still be called when it eventually @@ -369,6 +372,7 @@ class SYNC_EXPORT SyncManager { virtual void ConfigureSyncer( ConfigureReason reason, ModelTypeSet types_to_config, + ModelTypeSet failed_types, const ModelSafeRoutingInfo& new_routing_info, const base::Closure& ready_task, const base::Closure& retry_task) = 0; diff --git a/sync/internal_api/public/test/fake_sync_manager.h b/sync/internal_api/public/test/fake_sync_manager.h index 88e6360..ecbf3be 100644 --- a/sync/internal_api/public/test/fake_sync_manager.h +++ b/sync/internal_api/public/test/fake_sync_manager.h @@ -105,6 +105,7 @@ class FakeSyncManager : public SyncManager { virtual void ConfigureSyncer( ConfigureReason reason, ModelTypeSet types_to_config, + ModelTypeSet failed_types, const ModelSafeRoutingInfo& new_routing_info, const base::Closure& ready_task, const base::Closure& retry_task) OVERRIDE; |