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

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

Issue 996473005: Revert of [Sync] Refactor AttachmentStore classes. Introduce concept of referrer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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..9fd0b851dacb7187f4adae10a16accd0a32fb759 100644
--- a/sync/internal_api/public/attachments/in_memory_attachment_store.h
+++ b/sync/internal_api/public/attachments/in_memory_attachment_store.h
@@ -10,7 +10,6 @@
#include "sync/api/attachments/attachment.h"
#include "sync/api/attachments/attachment_id.h"
#include "sync/api/attachments/attachment_store.h"
-#include "sync/api/attachments/attachment_store_backend.h"
#include "sync/base/sync_export.h"
namespace base {
@@ -33,17 +32,14 @@
void Init(const AttachmentStore::InitCallback& callback) override;
void Read(const AttachmentIdList& ids,
const AttachmentStore::ReadCallback& callback) override;
- void Write(AttachmentStore::AttachmentReferrer referrer,
- const AttachmentList& attachments,
+ void Write(const AttachmentList& attachments,
const AttachmentStore::WriteCallback& callback) override;
- void Drop(AttachmentStore::AttachmentReferrer referrer,
- const AttachmentIdList& ids,
+ void Drop(const AttachmentIdList& ids,
const AttachmentStore::DropCallback& callback) override;
void ReadMetadata(
const AttachmentIdList& ids,
const AttachmentStore::ReadMetadataCallback& callback) override;
void ReadAllMetadata(
- AttachmentStore::AttachmentReferrer referrer,
const AttachmentStore::ReadMetadataCallback& callback) override;
private:

Powered by Google App Engine
This is Rietveld 408576698