| Index: chrome/browser/sync/engine/sync_scheduler.h
|
| diff --git a/chrome/browser/sync/engine/sync_scheduler.h b/chrome/browser/sync/engine/sync_scheduler.h
|
| index 7a025fb0478b05d9f48d6417c6334e2cbc47e39d..e598a3c58a941fa6db1d21577020ffec7ed568b8 100644
|
| --- a/chrome/browser/sync/engine/sync_scheduler.h
|
| +++ b/chrome/browser/sync/engine/sync_scheduler.h
|
| @@ -93,6 +93,10 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
|
| void ScheduleConfig(const syncable::ModelTypeBitSet& types,
|
| sync_api::ConfigureReason reason);
|
| void ScheduleClearUserData();
|
| + // If this is called before Start(), the cleanup is guaranteed to
|
| + // happen before the Start finishes.
|
| + //
|
| + // TODO(akalin): Figure out how to test this.
|
| void ScheduleCleanupDisabledTypes();
|
|
|
| // Change status of notifications in the SyncSessionContext.
|
| @@ -306,7 +310,6 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
|
| const std::vector<ModelSafeWorker*>& workers,
|
| const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source);
|
| void ScheduleClearUserDataImpl();
|
| - void ScheduleCleanupDisabledTypesImpl();
|
|
|
| // Returns true if the client is currently in exponential backoff.
|
| bool IsBackingOff() const;
|
|
|