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

Unified Diff: components/sync/driver/glue/sync_backend_host_core.h

Issue 2641523004: [Sync] Make directory types registration explicit in ModelTypeRegistry (Closed)
Patch Set: Address comments Created 3 years, 11 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: components/sync/driver/glue/sync_backend_host_core.h
diff --git a/components/sync/driver/glue/sync_backend_host_core.h b/components/sync/driver/glue/sync_backend_host_core.h
index 787a1eb33781ebec8b4b75936905a1c7f5e15c21..c46814bcf591346e911f164f4eb4de64a34b2c77 100644
--- a/components/sync/driver/glue/sync_backend_host_core.h
+++ b/components/sync/driver/glue/sync_backend_host_core.h
@@ -106,10 +106,14 @@ class SyncBackendHostCore
// SyncEngine::UpdateCredentials.
void DoUpdateCredentials(const SyncCredentials& credentials);
+ // Switches sync engine into configuration mode. In this mode only initial
+ // data for newly enabled types is downloaded from server. No local changes
+ // are committed to server.
+ void DoStartConfiguration();
+
// Called to tell the syncapi to start syncing (generally after
// initialization and authentication).
- void DoStartSyncing(const ModelSafeRoutingInfo& routing_info,
- base::Time last_poll_time);
+ void DoStartSyncing(base::Time last_poll_time);
// Called to set the passphrase for encryption.
void DoSetEncryptionPassphrase(const std::string& passphrase,
« no previous file with comments | « components/sync/driver/directory_data_type_controller.cc ('k') | components/sync/driver/glue/sync_backend_host_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698