Index: sync/internal_api/public/data_batch_impl.h |
diff --git a/sync/internal_api/public/data_batch_impl.h b/sync/internal_api/public/data_batch_impl.h |
index 575377fa54f6cd47f57f1638e7468cb15c7e8f43..239f8f95ac9d4071d590e3c4193efa0ddb5fc530 100644 |
--- a/sync/internal_api/public/data_batch_impl.h |
+++ b/sync/internal_api/public/data_batch_impl.h |
@@ -7,12 +7,12 @@ |
#include <stddef.h> |
+#include <memory> |
#include <string> |
#include <utility> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "sync/api/data_batch.h" |
#include "sync/api/entity_data.h" |
@@ -31,7 +31,8 @@ class SYNC_EXPORT DataBatchImpl : public DataBatch { |
// Takes ownership of the data tied to a given tag used for storage. Put |
// should be called at most once for any given client_tag. Data will be |
// readable in the same order that they are put into the batch. |
- void Put(const std::string& client_tag, scoped_ptr<EntityData> entity_data); |
+ void Put(const std::string& client_tag, |
+ std::unique_ptr<EntityData> entity_data); |
// DataBatch implementation. |
bool HasNext() const override; |