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

Unified Diff: sync/internal_api/public/attachments/attachment_store_frontend.h

Issue 1002263005: [Sync] Introduce AttachmentStoreForSync class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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_store_frontend.h
diff --git a/sync/internal_api/public/attachments/attachment_store_frontend.h b/sync/internal_api/public/attachments/attachment_store_frontend.h
index ec4a33f24f661e381029968b56f333212e32238a..682cb4cb028823eef2565133476eedc0a4715e6c 100644
--- a/sync/internal_api/public/attachments/attachment_store_frontend.h
+++ b/sync/internal_api/public/attachments/attachment_store_frontend.h
@@ -40,18 +40,19 @@ class SYNC_EXPORT AttachmentStoreFrontend
void Read(const AttachmentIdList& ids,
const AttachmentStore::ReadCallback& callback);
- void Write(AttachmentStore::AttachmentReferrer referrer,
+ void Write(AttachmentStore::Component component,
const AttachmentList& attachments,
const AttachmentStore::WriteCallback& callback);
-
- void Drop(AttachmentStore::AttachmentReferrer referrer,
- const AttachmentIdList& ids,
- const AttachmentStore::DropCallback& callback);
+ void SetReference(AttachmentStore::Component component,
+ const AttachmentIdList& ids);
+ void DropReference(AttachmentStore::Component component,
+ const AttachmentIdList& ids,
+ const AttachmentStore::DropCallback& callback);
void ReadMetadata(const AttachmentIdList& ids,
const AttachmentStore::ReadMetadataCallback& callback);
- void ReadAllMetadata(AttachmentStore::AttachmentReferrer referrer,
+ void ReadAllMetadata(AttachmentStore::Component component,
const AttachmentStore::ReadMetadataCallback& callback);
private:

Powered by Google App Engine
This is Rietveld 408576698