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

Unified Diff: sync/api/syncable_service.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/api/syncable_service.cc
diff --git a/sync/api/syncable_service.cc b/sync/api/syncable_service.cc
index a5d67c4d6591639daa3693564134a214027f9859..cbad406794b3c41fcc7ea9f4f7d0570fcaa3651a 100644
--- a/sync/api/syncable_service.cc
+++ b/sync/api/syncable_service.cc
@@ -8,13 +8,12 @@ namespace syncer {
SyncableService::~SyncableService() {}
-scoped_ptr<AttachmentStoreForSync>
+std::unique_ptr<AttachmentStoreForSync>
SyncableService::GetAttachmentStoreForSync() {
- return scoped_ptr<AttachmentStoreForSync>();
+ return std::unique_ptr<AttachmentStoreForSync>();
}
void SyncableService::SetAttachmentService(
- scoped_ptr<AttachmentService> attachment_service) {
-}
+ std::unique_ptr<AttachmentService> attachment_service) {}
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698