Index: sync/internal_api/public/attachments/attachment_service_impl.h |
diff --git a/sync/internal_api/public/attachments/attachment_service_impl.h b/sync/internal_api/public/attachments/attachment_service_impl.h |
index 53f688982b8fdd77b6945580dae2aec22159d311..6d6660d37c5b4c822b8e451c1ce37accfc3e5449 100644 |
--- a/sync/internal_api/public/attachments/attachment_service_impl.h |
+++ b/sync/internal_api/public/attachments/attachment_service_impl.h |
@@ -33,7 +33,7 @@ class SYNC_EXPORT AttachmentServiceImpl : public AttachmentService, |
// downloaded. Only attachments in |attachment_store| will be returned from |
// GetOrDownloadAttachments. |
- AttachmentServiceImpl(scoped_ptr<AttachmentStore> attachment_store, |
+ AttachmentServiceImpl(scoped_refptr<AttachmentStore> attachment_store, |
scoped_ptr<AttachmentUploader> attachment_uploader, |
scoped_ptr<AttachmentDownloader> attachment_downloader, |
Delegate* delegate); |
@@ -69,7 +69,7 @@ class SYNC_EXPORT AttachmentServiceImpl : public AttachmentService, |
const AttachmentDownloader::DownloadResult& result, |
scoped_ptr<Attachment> attachment); |
- const scoped_ptr<AttachmentStore> attachment_store_; |
+ scoped_refptr<AttachmentStore> attachment_store_; |
// May be null. |
const scoped_ptr<AttachmentUploader> attachment_uploader_; |