Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: sync/engine/sync_scheduler.h

Issue 10542044: [Sync] Remove unnecessary posting of methods in sync scheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix dcheck Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/engine/sync_scheduler.cc » ('j') | sync/engine/sync_scheduler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | sync/engine/sync_scheduler.cc » ('j') | sync/engine/sync_scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698