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

Unified Diff: components/sync/driver/data_type_manager_impl.h

Issue 2533083002: [Sync] SyncEngine refactor part 1: interfaces. (Closed)
Patch Set: Rebase. Created 4 years 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 | « components/sync/driver/data_type_controller.h ('k') | components/sync/driver/data_type_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/data_type_manager_impl.h
diff --git a/components/sync/driver/data_type_manager_impl.h b/components/sync/driver/data_type_manager_impl.h
index 7edd5696b3d6b5df987fe29fcac7134688a18d7c..73c045630839eb9926be00c6bcb1fe39d964a929 100644
--- a/components/sync/driver/data_type_manager_impl.h
+++ b/components/sync/driver/data_type_manager_impl.h
@@ -17,8 +17,8 @@
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "components/sync/base/weak_handle.h"
-#include "components/sync/driver/backend_data_type_configurer.h"
#include "components/sync/driver/model_association_manager.h"
+#include "components/sync/engine/model_type_configurer.h"
namespace syncer {
@@ -39,7 +39,7 @@ class DataTypeManagerImpl : public DataTypeManager,
const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener,
const DataTypeController::TypeMap* controllers,
const DataTypeEncryptionHandler* encryption_handler,
- BackendDataTypeConfigurer* configurer,
+ ModelTypeConfigurer* configurer,
DataTypeManagerObserver* observer);
~DataTypeManagerImpl() override;
@@ -122,7 +122,7 @@ class DataTypeManagerImpl : public DataTypeManager,
// Calls data type controllers of requested types to register with backend.
void RegisterTypesWithBackend();
- BackendDataTypeConfigurer::DataTypeConfigStateMap BuildDataTypeConfigStateMap(
+ ModelTypeConfigurer::DataTypeConfigStateMap BuildDataTypeConfigStateMap(
const ModelTypeSet& types_being_configured) const;
// Start download of next set of types in |download_types_queue_| (if
@@ -141,7 +141,7 @@ class DataTypeManagerImpl : public DataTypeManager,
// Returns the currently enabled types.
ModelTypeSet GetEnabledTypes() const;
- BackendDataTypeConfigurer* configurer_;
+ ModelTypeConfigurer* configurer_;
// Map of all data type controllers that are available for sync.
// This list is determined at startup by various command line flags.
const DataTypeController::TypeMap* controllers_;
« no previous file with comments | « components/sync/driver/data_type_controller.h ('k') | components/sync/driver/data_type_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698