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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 7545012: Merge 94530 - [Sync] Add RequestCleanupDisabledTypes() method to SyncManager (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: 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 | « chrome/browser/sync/glue/data_type_manager_impl.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.h
===================================================================
--- chrome/browser/sync/glue/sync_backend_host.h (revision 94934)
+++ chrome/browser/sync/glue/sync_backend_host.h (working copy)
@@ -344,13 +344,12 @@
// syncing (generally after initialization and authentication).
void DoStartSyncing();
- // Called on the SyncBackendHost sync_thread_ to nudge/pause/resume the
- // syncer.
- void DoRequestNudge(const tracked_objects::Location& location);
+ // Called on the SyncBackendHost sync_thread_ to clear server
+ // data.
void DoRequestClearServerData();
- // Sets |deferred_nudge_for_cleanup_requested_| to true. See comment below.
- void DeferNudgeForCleanup();
+ // Sets |deferred_cleanup_requested_| to true. See comment below.
+ void DeferCleanup();
// Called on our SyncBackendHost's |sync_thread_| to set the passphrase
// on behalf of SyncBackendHost::SupplyPassphrase.
@@ -519,7 +518,8 @@
// True when a datatype has been disabled so that we nudge once sync is
// resumed (after configuration is finished).
- bool deferred_nudge_for_cleanup_requested_;
+ // TODO(akalin): Remove the need for this.
+ bool deferred_cleanup_requested_;
DISALLOW_COPY_AND_ASSIGN(Core);
};
@@ -529,9 +529,6 @@
// set up initial conditions.
virtual void HandleInitializationCompletedOnFrontendLoop(bool success);
- // Posts a nudge request on the sync thread.
- virtual void RequestNudge(const tracked_objects::Location& location);
-
// Called to finish the job of ConfigureDataTypes once the syncer is in
// configuration mode.
void FinishConfigureDataTypes();
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698