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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Fix tools and iOS. Created 4 years, 3 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.cc
diff --git a/components/sync/driver/backend_data_type_configurer.cc b/components/sync/driver/backend_data_type_configurer.cc
index e6d163765e754628b5b9b3689e7f2cd3b6744b70..b689755ee0e37a3a37e28a0b4fb5b939952308b4 100644
--- a/components/sync/driver/backend_data_type_configurer.cc
+++ b/components/sync/driver/backend_data_type_configurer.cc
@@ -4,13 +4,13 @@
#include "components/sync/driver/backend_data_type_configurer.h"
-namespace sync_driver {
+namespace syncer {
// static
-syncer::ModelTypeSet BackendDataTypeConfigurer::GetDataTypesInState(
+ModelTypeSet BackendDataTypeConfigurer::GetDataTypesInState(
DataTypeConfigState state,
const DataTypeConfigStateMap& state_map) {
- syncer::ModelTypeSet types;
+ ModelTypeSet types;
for (DataTypeConfigStateMap::const_iterator type_it = state_map.begin();
type_it != state_map.end(); ++type_it) {
if (type_it->second == state)
@@ -22,11 +22,11 @@ syncer::ModelTypeSet BackendDataTypeConfigurer::GetDataTypesInState(
// static
void BackendDataTypeConfigurer::SetDataTypesState(
DataTypeConfigState state,
- syncer::ModelTypeSet types,
+ ModelTypeSet types,
DataTypeConfigStateMap* state_map) {
- for (syncer::ModelTypeSet::Iterator it = types.First(); it.Good(); it.Inc()) {
+ for (ModelTypeSet::Iterator it = types.First(); it.Good(); it.Inc()) {
(*state_map)[it.Get()] = state;
}
}
-} // namespace sync_driver
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698