| Index: sync/engine/sync_scheduler.h
|
| diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
|
| index 0ca2f5db5a14be3d236213750e9489eda6a919f6..e706a8cf2efa0e3d7932b1999a8f607b91b3f54b 100644
|
| --- a/sync/engine/sync_scheduler.h
|
| +++ b/sync/engine/sync_scheduler.h
|
| @@ -116,8 +116,6 @@ class SyncScheduler : public sessions::SyncSession::Delegate {
|
| const syncer::ModelTypePayloadMap& types_with_payloads,
|
| const tracked_objects::Location& nudge_location);
|
|
|
| - void CleanupDisabledTypes();
|
| -
|
| // Change status of notifications in the SyncSessionContext.
|
| void set_notifications_enabled(bool notifications_enabled);
|
|
|
| @@ -170,12 +168,8 @@ class SyncScheduler : public sessions::SyncSession::Delegate {
|
| // a sync. The source is inferable from |session.source()|.
|
| NUDGE,
|
| // Typically used for fetching updates for a subset of the enabled types
|
| - // during initial sync or reconfiguration. We don't run all steps of
|
| - // the sync cycle for these (e.g. CleanupDisabledTypes is skipped).
|
| + // during initial sync or reconfiguration.
|
| CONFIGURATION,
|
| - // The user disabled some types and we have to clean up the data
|
| - // for those.
|
| - CLEANUP_DISABLED_TYPES,
|
| };
|
| SyncSessionJob();
|
| SyncSessionJob(SyncSessionJobPurpose purpose, base::TimeTicks start,
|
| @@ -291,10 +285,6 @@ class SyncScheduler : public sessions::SyncSession::Delegate {
|
| // reset our state.
|
| void FinishSyncSessionJob(const SyncSessionJob& job);
|
|
|
| - // Record important state that might be needed in future syncs, such as which
|
| - // data types may require cleanup.
|
| - void UpdateCarryoverSessionState(const SyncSessionJob& old_job);
|
| -
|
| // Helper to FinishSyncSessionJob to schedule the next sync operation.
|
| void ScheduleNextSync(const SyncSessionJob& old_job);
|
|
|
|
|