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

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

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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/backend_data_type_configurer.h
diff --git a/components/sync_driver/backend_data_type_configurer.h b/components/sync/driver/backend_data_type_configurer.h
similarity index 80%
rename from components/sync_driver/backend_data_type_configurer.h
rename to components/sync/driver/backend_data_type_configurer.h
index 2fb935c158eb48efb6fd10986720663e5dd95feb..01c087964f54d127e8cb8777598f37ae98e723a5 100644
--- a/components/sync_driver/backend_data_type_configurer.h
+++ b/components/sync/driver/backend_data_type_configurer.h
@@ -27,17 +27,17 @@ class ChangeProcessor;
class BackendDataTypeConfigurer {
public:
enum DataTypeConfigState {
- CONFIGURE_ACTIVE, // Actively being configured. Data of such types
- // will be downloaded if not present locally.
- CONFIGURE_INACTIVE, // Already configured or to be configured in future.
- // Data of such types is left as it is, no
- // downloading or purging.
- CONFIGURE_CLEAN, // Actively being configured but requiring unapply
- // and GetUpdates first (e.g. for persistence errors).
- DISABLED, // Not syncing. Disabled by user.
- FATAL, // Not syncing due to unrecoverable error.
- CRYPTO, // Not syncing due to a cryptographer error.
- UNREADY, // Not syncing due to transient error.
+ CONFIGURE_ACTIVE, // Actively being configured. Data of such types
+ // will be downloaded if not present locally.
+ CONFIGURE_INACTIVE, // Already configured or to be configured in future.
+ // Data of such types is left as it is, no
+ // downloading or purging.
+ CONFIGURE_CLEAN, // Actively being configured but requiring unapply
+ // and GetUpdates first (e.g. for persistence errors).
+ DISABLED, // Not syncing. Disabled by user.
+ FATAL, // Not syncing due to unrecoverable error.
+ CRYPTO, // Not syncing due to a cryptographer error.
+ UNREADY, // Not syncing due to transient error.
};
typedef std::map<syncer::ModelType, DataTypeConfigState>
DataTypeConfigStateMap;
@@ -64,7 +64,8 @@ class BackendDataTypeConfigurer {
// Return model types in |state_map| that match |state|.
static syncer::ModelTypeSet GetDataTypesInState(
- DataTypeConfigState state, const DataTypeConfigStateMap& state_map);
+ DataTypeConfigState state,
+ const DataTypeConfigStateMap& state_map);
// Activates change processing for the given directory data type. This must
// be called synchronously with the data type's model association so
« no previous file with comments | « components/sync/driver/about_sync_util_unittest.cc ('k') | components/sync/driver/backend_data_type_configurer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698