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

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: Address more comments 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
« no previous file with comments | « chrome/browser/sync/backend_migrator_unittest.cc ('k') | 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 1c0c9f999752411cb358c5bf4f7f63413101a203..2f0dd6a76c3bbf52d31b699e99d22e85be9ec1b1 100644
--- a/chrome/browser/sync/engine/sync_scheduler.h
+++ b/chrome/browser/sync/engine/sync_scheduler.h
@@ -97,6 +97,10 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
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();
// Change status of notifications in the SyncSessionContext.
@@ -312,7 +316,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;
« no previous file with comments | « chrome/browser/sync/backend_migrator_unittest.cc ('k') | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698