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

Unified Diff: sync/internal_api/public/data_batch_impl.cc

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: sync/internal_api/public/data_batch_impl.cc
diff --git a/sync/internal_api/public/data_batch_impl.cc b/sync/internal_api/public/data_batch_impl.cc
index 6803e4f9a090bf27c194b43e63c4f01b3db4b74f..59cc6a2407673bda2c9d93502d4688eb9260fdff 100644
--- a/sync/internal_api/public/data_batch_impl.cc
+++ b/sync/internal_api/public/data_batch_impl.cc
@@ -11,7 +11,7 @@ DataBatchImpl::DataBatchImpl() {}
DataBatchImpl::~DataBatchImpl() {}
void DataBatchImpl::Put(const std::string& client_tag,
- scoped_ptr<EntityData> specifics) {
+ std::unique_ptr<EntityData> specifics) {
tag_data_pairs_.push_back(TagAndData(client_tag, std::move(specifics)));
}

Powered by Google App Engine
This is Rietveld 408576698