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

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

Issue 7655055: [Sync] Make BackendMigrator not wait for full sync cycles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac test Created 9 years, 4 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
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;

Powered by Google App Engine
This is Rietveld 408576698