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

Unified Diff: sync/test/fake_server/bookmark_entity.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: Rebase and fix conflicts 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/test/fake_server/bookmark_entity.h
diff --git a/sync/test/fake_server/bookmark_entity.h b/sync/test/fake_server/bookmark_entity.h
index 02e101169ed95c762f460adb29078ff445fdff62..55f2f52546c55151265b63411ed5e82dc8f278c4 100644
--- a/sync/test/fake_server/bookmark_entity.h
+++ b/sync/test/fake_server/bookmark_entity.h
@@ -24,7 +24,7 @@ class BookmarkEntity : public FakeServerEntity {
// Factory function for BookmarkEntity. This factory should be used only for
// the first time that a specific bookmark is seen by the server.
- static scoped_ptr<FakeServerEntity> CreateNew(
+ static std::unique_ptr<FakeServerEntity> CreateNew(
const sync_pb::SyncEntity& client_entity,
const std::string& parent_id,
const std::string& client_guid);
@@ -33,7 +33,7 @@ class BookmarkEntity : public FakeServerEntity {
// ID, |current_server_entity|, is passed here because the client does not
// always send the complete entity over the wire. This requires copying of
// some of the existing entity when creating a new entity.
- static scoped_ptr<FakeServerEntity> CreateUpdatedVersion(
+ static std::unique_ptr<FakeServerEntity> CreateUpdatedVersion(
const sync_pb::SyncEntity& client_entity,
const FakeServerEntity& current_server_entity,
const std::string& parent_id);
« no previous file with comments | « sync/test/fake_server/android/fake_server_helper_android.cc ('k') | sync/test/fake_server/bookmark_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698