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

Unified Diff: sync/api/data_batch.h

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/api/data_batch.h
diff --git a/sync/api/data_batch.h b/sync/api/data_batch.h
index d7e769baf15c01b2b34e5f9cd06fcfec8f449366..bdb2b06c15499825946fa060e71888f377fca12c 100644
--- a/sync/api/data_batch.h
+++ b/sync/api/data_batch.h
@@ -6,16 +6,16 @@
#define SYNC_API_DATA_BATCH_H_
#include <algorithm>
+#include <memory>
#include <string>
#include <utility>
-#include "base/memory/scoped_ptr.h"
#include "sync/api/entity_data.h"
#include "sync/base/sync_export.h"
namespace syncer_v2 {
-typedef std::pair<std::string, scoped_ptr<EntityData>> TagAndData;
+typedef std::pair<std::string, std::unique_ptr<EntityData>> TagAndData;
// Interface used by the processor to read data requested from the service.
class SYNC_EXPORT DataBatch {

Powered by Google App Engine
This is Rietveld 408576698