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

Unified Diff: sync/internal_api/public/attachments/attachment_service.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/internal_api/public/attachments/attachment_service.h
diff --git a/sync/internal_api/public/attachments/attachment_service.h b/sync/internal_api/public/attachments/attachment_service.h
index e039c3ad7a20ee3e362b8d47e24885416d4d91c5..7a044f0095f8db6a8e60fdb3c091c5578a5408bc 100644
--- a/sync/internal_api/public/attachments/attachment_service.h
+++ b/sync/internal_api/public/attachments/attachment_service.h
@@ -5,8 +5,9 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
#define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
+#include <memory>
+
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "sync/api/attachments/attachment.h"
#include "sync/base/sync_export.h"
@@ -31,8 +32,8 @@ class SYNC_EXPORT AttachmentService {
GET_UNSPECIFIED_ERROR, // An unspecified error occurred.
};
- typedef base::Callback<
- void(const GetOrDownloadResult&, scoped_ptr<AttachmentMap> attachments)>
+ typedef base::Callback<void(const GetOrDownloadResult&,
+ std::unique_ptr<AttachmentMap> attachments)>
GetOrDownloadCallback;
// An interface that embedder code implements to be notified about different

Powered by Google App Engine
This is Rietveld 408576698