Chromium Code Reviews| Index: sync/engine/sync_scheduler.h |
| diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h |
| index dfd63e4a0b4306f79cf10154156e689f73c8a9b8..33f75957707ebe720fa7750e7348166df1f2a3af 100644 |
| --- a/sync/engine/sync_scheduler.h |
| +++ b/sync/engine/sync_scheduler.h |
| @@ -87,16 +87,13 @@ class SyncScheduler : public sessions::SyncSession::Delegate { |
| // Note: The source argument of this function must come from the subset of |
| // GetUpdatesCallerInfo values related to configurations. |
| - void ScheduleConfig( |
| + void Configure( |
|
tim (not reviewing)
2012/06/11 20:06:13
I'm not sure about this rename -- it is still up t
Nicolas Zea
2012/06/11 20:55:09
Done.
|
| syncable::ModelTypeSet types, |
| sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source); |
| - 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(); |
| + void ClearUserData(); |
| + |
| + void CleanupDisabledTypes(); |
|
tim (not reviewing)
2012/06/11 20:06:13
nit - You can add a TODO here for me and note bug
Nicolas Zea
2012/06/11 20:55:09
Done.
|
| // Change status of notifications in the SyncSessionContext. |
| void set_notifications_enabled(bool notifications_enabled); |
| @@ -310,17 +307,12 @@ class SyncScheduler : public sessions::SyncSession::Delegate { |
| // 'Impl' here refers to real implementation of public functions, running on |
| // |thread_|. |
| - void StartImpl(Mode mode, const base::Closure& callback); |
| void StopImpl(const base::Closure& callback); |
| void ScheduleNudgeImpl( |
| const base::TimeDelta& delay, |
| sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, |
| const syncable::ModelTypePayloadMap& types_with_payloads, |
| bool is_canary_job, const tracked_objects::Location& nudge_location); |
| - void ScheduleConfigImpl(const ModelSafeRoutingInfo& routing_info, |
| - const std::vector<ModelSafeWorker*>& workers, |
| - const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source); |
| - void ScheduleClearUserDataImpl(); |
| // Returns true if the client is currently in exponential backoff. |
| bool IsBackingOff() const; |