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

Unified Diff: sync/internal_api/attachments/in_memory_attachment_store.cc

Issue 652723003: Implementation of OnDiskAttachmentStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OVERRIDE => override Created 6 years, 2 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/attachments/in_memory_attachment_store.cc
diff --git a/sync/internal_api/attachments/in_memory_attachment_store.cc b/sync/internal_api/attachments/in_memory_attachment_store.cc
index c1e366dc1acda9aed250527bbc7b9a1fa2ea2ce4..7175eb111bc27cba0b37222ddccb0d36bd488818 100644
--- a/sync/internal_api/attachments/in_memory_attachment_store.cc
+++ b/sync/internal_api/attachments/in_memory_attachment_store.cc
@@ -21,6 +21,12 @@ InMemoryAttachmentStore::InMemoryAttachmentStore(
InMemoryAttachmentStore::~InMemoryAttachmentStore() {
}
+void InMemoryAttachmentStore::Load(const LoadCallback& callback) {
+ DCHECK(CalledOnValidThread());
+ Result result_code = SUCCESS;
+ callback_task_runner_->PostTask(FROM_HERE, base::Bind(callback, result_code));
+}
+
void InMemoryAttachmentStore::Read(const AttachmentIdList& ids,
const ReadCallback& callback) {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698