Index: sync/internal_api/public/attachments/on_disk_attachment_store.h |
diff --git a/sync/internal_api/public/attachments/on_disk_attachment_store.h b/sync/internal_api/public/attachments/on_disk_attachment_store.h |
index 62cec5bc935e28cd3bd9802fcbf7e3af13ba6311..bde55c878d4543fe92c78a5eb5fc7d1c70a78b7e 100644 |
--- a/sync/internal_api/public/attachments/on_disk_attachment_store.h |
+++ b/sync/internal_api/public/attachments/on_disk_attachment_store.h |
@@ -43,17 +43,19 @@ class SYNC_EXPORT OnDiskAttachmentStore : public AttachmentStoreBackend, |
void Init(const AttachmentStore::InitCallback& callback) override; |
void Read(const AttachmentIdList& ids, |
const AttachmentStore::ReadCallback& callback) override; |
- void Write(AttachmentStore::AttachmentReferrer referrer, |
+ void Write(AttachmentStore::Component component, |
const AttachmentList& attachments, |
const AttachmentStore::WriteCallback& callback) override; |
- void Drop(AttachmentStore::AttachmentReferrer referrer, |
- const AttachmentIdList& ids, |
- const AttachmentStore::DropCallback& callback) override; |
+ void SetReference(AttachmentStore::Component component, |
+ const AttachmentIdList& ids) override; |
+ void DropReference(AttachmentStore::Component component, |
+ const AttachmentIdList& ids, |
+ const AttachmentStore::DropCallback& callback) override; |
void ReadMetadata( |
const AttachmentIdList& ids, |
const AttachmentStore::ReadMetadataCallback& callback) override; |
void ReadAllMetadata( |
- AttachmentStore::AttachmentReferrer referrer, |
+ AttachmentStore::Component component, |
const AttachmentStore::ReadMetadataCallback& callback) override; |
private: |