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

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

Issue 2563423005: [Sync] Move ConfigureDataTypes logic into DataTypeManagerImpl. (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 27e0d57efd3f019017c18c011b1ac1fb21372873..787a1eb33781ebec8b4b75936905a1c7f5e15c21 100644
--- a/components/sync/driver/glue/sync_backend_host_core.h
+++ b/components/sync/driver/glue/sync_backend_host_core.h
@@ -23,6 +23,7 @@
#include "components/sync/base/system_encryptor.h"
#include "components/sync/driver/glue/sync_backend_host_impl.h"
#include "components/sync/engine/cycle/type_debug_info_observer.h"
+#include "components/sync/engine/model_type_configurer.h"
#include "components/sync/engine/shutdown_reason.h"
#include "components/sync/engine/sync_encryption_handler.h"
#include "url/gurl.h"
@@ -145,12 +146,7 @@ class SyncBackendHostCore
void DoPurgeDisabledTypes(const ModelTypeSet& to_purge,
const ModelTypeSet& to_journal,
const ModelTypeSet& to_unapply);
- void DoConfigureSyncer(
- ConfigureReason reason,
- const ModelTypeSet& to_download,
- const ModelSafeRoutingInfo routing_info,
- const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task,
- const base::Closure& retry_callback);
+ void DoConfigureSyncer(ModelTypeConfigurer::ConfigureParams params);
void DoFinishConfigureDataTypes(
ModelTypeSet types_to_config,
const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task);
« no previous file with comments | « components/sync/driver/fake_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