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 |
deleted file mode 100644 |
index 52b3f9bedc949dabe305df1bfc029e2afbe2333d..0000000000000000000000000000000000000000 |
--- a/components/sync_driver/backend_data_type_configurer.cc |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
- |
-#include "components/sync_driver/backend_data_type_configurer.h" |
- |
-namespace sync_driver { |
- |
-// static |
-syncer::ModelTypeSet |
-BackendDataTypeConfigurer::GetDataTypesInState( |
- DataTypeConfigState state, const DataTypeConfigStateMap& state_map) { |
- syncer::ModelTypeSet types; |
- for (DataTypeConfigStateMap::const_iterator type_it = state_map.begin(); |
- type_it != state_map.end(); ++type_it) { |
- if (type_it->second == state) |
- types.Put(type_it->first); |
- } |
- return types; |
-} |
- |
-// static |
-void BackendDataTypeConfigurer::SetDataTypesState( |
- DataTypeConfigState state, syncer::ModelTypeSet types, |
- DataTypeConfigStateMap* state_map) { |
- for (syncer::ModelTypeSet::Iterator it = types.First(); it.Good(); it.Inc()) { |
- (*state_map)[it.Get()] = state; |
- } |
-} |
- |
-} // namespace sync_driver |