Index: components/sync/model/recording_model_type_change_processor.cc |
diff --git a/components/sync/model/recording_model_type_change_processor.cc b/components/sync/model/recording_model_type_change_processor.cc |
index a20e2990fec038531c42966a6d887bfe5e502604..ae4b5fb238552413c4e563050671ab0ae5086233 100644 |
--- a/components/sync/model/recording_model_type_change_processor.cc |
+++ b/components/sync/model/recording_model_type_change_processor.cc |
@@ -8,6 +8,7 @@ |
#include "base/bind.h" |
#include "base/memory/ptr_util.h" |
+#include "components/sync/model/fake_model_type_sync_bridge.h" |
#include "components/sync/model/metadata_batch.h" |
namespace syncer { |
@@ -47,6 +48,19 @@ void RecordingModelTypeChangeProcessor::Delete( |
delete_set_.insert(storage_key); |
} |
+void RecordingModelTypeChangeProcessor::UpdateStorageKey( |
+ const EntityData& entity_data, |
+ const std::string& storage_key, |
+ MetadataChangeList* metadata_change_list) { |
+ update_multimap_.insert(std::make_pair( |
+ storage_key, FakeModelTypeSyncBridge::CopyEntityData(entity_data))); |
+} |
+ |
+void RecordingModelTypeChangeProcessor::UntrackEntity( |
+ const EntityData& entity_data) { |
+ untrack_set_.insert(FakeModelTypeSyncBridge::CopyEntityData(entity_data)); |
+} |
+ |
void RecordingModelTypeChangeProcessor::ModelReadyToSync( |
std::unique_ptr<MetadataBatch> batch) { |
std::swap(metadata_, batch); |