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

Unified Diff: sync/test/fake_server/unique_client_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: 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/unique_client_entity.h
diff --git a/sync/test/fake_server/unique_client_entity.h b/sync/test/fake_server/unique_client_entity.h
index a450eeb859ece3b44de53f5de26623aacbd76c46..a5f707964059d6a6e9541f92bfeb8d055d05b695 100644
--- a/sync/test/fake_server/unique_client_entity.h
+++ b/sync/test/fake_server/unique_client_entity.h
@@ -7,9 +7,9 @@
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/test/fake_server/fake_server_entity.h"
@@ -39,12 +39,12 @@ class UniqueClientEntity : public FakeServerEntity {
~UniqueClientEntity() override;
// Factory function for creating a UniqueClientEntity.
- static scoped_ptr<FakeServerEntity> Create(
+ static std::unique_ptr<FakeServerEntity> Create(
const sync_pb::SyncEntity& client_entity);
// Factory function for creating a UniqueClientEntity for use in the
// FakeServer injection API.
- static scoped_ptr<FakeServerEntity> CreateForInjection(
+ static std::unique_ptr<FakeServerEntity> CreateForInjection(
const std::string& name,
const sync_pb::EntitySpecifics& entity_specifics);

Powered by Google App Engine
This is Rietveld 408576698