| Index: components/sync/core/data_batch_impl.cc
|
| diff --git a/components/sync/core/data_batch_impl.cc b/components/sync/core/data_batch_impl.cc
|
| index e67f316215bdfcbbb6a9bbabf6b1da562e6c3ffe..3eb9e8b4357298b7d794df5f86b322cf0c8644a7 100644
|
| --- a/components/sync/core/data_batch_impl.cc
|
| +++ b/components/sync/core/data_batch_impl.cc
|
| @@ -10,18 +10,18 @@ DataBatchImpl::DataBatchImpl() {}
|
|
|
| DataBatchImpl::~DataBatchImpl() {}
|
|
|
| -void DataBatchImpl::Put(const std::string& client_tag,
|
| +void DataBatchImpl::Put(const std::string& storage_key,
|
| std::unique_ptr<EntityData> specifics) {
|
| - tag_data_pairs_.push_back(TagAndData(client_tag, std::move(specifics)));
|
| + key_data_pairs_.push_back(KeyAndData(storage_key, std::move(specifics)));
|
| }
|
|
|
| bool DataBatchImpl::HasNext() const {
|
| - return tag_data_pairs_.size() > read_index_;
|
| + return key_data_pairs_.size() > read_index_;
|
| }
|
|
|
| -TagAndData DataBatchImpl::Next() {
|
| +KeyAndData DataBatchImpl::Next() {
|
| DCHECK(HasNext());
|
| - return std::move(tag_data_pairs_[read_index_++]);
|
| + return std::move(key_data_pairs_[read_index_++]);
|
| }
|
|
|
| } // namespace syncer_v2
|
|
|