| Index: components/sync/model/model_type_store.cc
|
| diff --git a/components/sync/model/model_type_store.cc b/components/sync/model/model_type_store.cc
|
| index 2cd151de52511693ff612c76ee9a4d01d8209eb7..fc8cb809bf8ef5707f66ee440f7633d0b82af3f2 100644
|
| --- a/components/sync/model/model_type_store.cc
|
| +++ b/components/sync/model/model_type_store.cc
|
| @@ -38,6 +38,15 @@ ModelTypeStore::WriteBatch::WriteBatch(ModelTypeStore* store) : store_(store) {}
|
|
|
| ModelTypeStore::WriteBatch::~WriteBatch() {}
|
|
|
| +void ModelTypeStore::WriteBatch::WriteData(const std::string& id,
|
| + const std::string& value) {
|
| + store_->WriteData(this, id, value);
|
| +}
|
| +
|
| +void ModelTypeStore::WriteBatch::DeleteData(const std::string& id) {
|
| + store_->DeleteData(this, id);
|
| +}
|
| +
|
| MetadataChangeList* ModelTypeStore::WriteBatch::GetMetadataChangeList() {
|
| if (!metadata_change_list_) {
|
| metadata_change_list_ =
|
|
|