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

Unified Diff: chrome/browser/sync/engine/sync_scheduler.h

Issue 7281017: [Sync] Add RequestCleanupDisabledTypes() method to SyncManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix migration integration tests Created 9 years, 5 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 | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94769aefe51adda7b07ea150a225565cc11a48fe..66353b3127f1a5c9ac8ce25ea4679017772eae14 100644
--- a/chrome/browser/sync/engine/sync_scheduler.h
+++ b/chrome/browser/sync/engine/sync_scheduler.h
@@ -93,6 +93,7 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
void ScheduleConfig(const syncable::ModelTypeBitSet& types,
sync_api::ConfigureReason reason);
void ScheduleClearUserData();
+ void ScheduleCleanupDisabledTypes();
// Change status of notifications in the SyncSessionContext.
void set_notifications_enabled(bool notifications_enabled);
@@ -284,6 +285,9 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
// Coalesces the current job with the pending nudge.
void InitOrCoalescePendingJob(const SyncSessionJob& job);
+ // Cleans up disabled types separately from a sync cycle.
+ void CleanupDisabledTypes();
tim (not reviewing) 2011/07/28 01:42:23 So, I get why this is here, but it confuses me to
akalin 2011/07/28 02:45:51 Done. Let's see if that works.
+
// 'Impl' here refers to real implementation of public functions, running on
// |thread_|.
void StartImpl(Mode mode, ModeChangeCallback* callback);
« no previous file with comments | « no previous file | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698