| 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
|
|
|