diff options
Diffstat (limited to 'chrome/browser/sync/glue/sync_backend_host.h')
| -rw-r--r-- | chrome/browser/sync/glue/sync_backend_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h index a8056fe..4b3d164 100644 --- a/chrome/browser/sync/glue/sync_backend_host.h +++ b/chrome/browser/sync/glue/sync_backend_host.h @@ -131,6 +131,8 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar { // Called from |frontend_loop| to update SyncCredentials. void UpdateCredentials(const sync_api::SyncCredentials& credentials); + virtual void UpdateEnabledTypes(const syncable::ModelTypeSet& types); + // This starts the SyncerThread running a Syncer object to communicate with // sync servers. Until this is called, no changes will leave or enter this // browser from the cloud / sync servers. @@ -322,6 +324,10 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar { // update on behalf of SyncBackendHost::UpdateCredentials void DoUpdateCredentials(const sync_api::SyncCredentials& credentials); + // Update the set of enabled sync types. Usually called when the user disables + // or enables a sync type. + void DoUpdateEnabledTypes(const syncable::ModelTypeSet& types); + // Called on the SyncBackendHost core_thread_ to tell the syncapi to start // syncing (generally after initialization and authentication). void DoStartSyncing(); |
