Index: sync/internal_api/public/attachments/in_memory_attachment_store.h |
diff --git a/sync/internal_api/public/attachments/in_memory_attachment_store.h b/sync/internal_api/public/attachments/in_memory_attachment_store.h |
index 5f8599258d3bf333392b954c8b8693e2696034d5..e51147414565b04aa3a7d463889a04bd9154e403 100644 |
--- a/sync/internal_api/public/attachments/in_memory_attachment_store.h |
+++ b/sync/internal_api/public/attachments/in_memory_attachment_store.h |
@@ -33,17 +33,19 @@ class SYNC_EXPORT InMemoryAttachmentStore : 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: |