summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/attachments/in_memory_attachment_store.cc
diff options
context:
space:
mode:
authorstanisc <stanisc@chromium.org>2014-11-20 20:45:52 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-21 04:46:11 +0000
commit115f299f986e72331e7b2867b0cb64d952ecb85a (patch)
tree23fec3ad31ca837f7c9ff943cc506589b0478f70 /sync/internal_api/attachments/in_memory_attachment_store.cc
parent9f7c198f303f3cfdbb63c58eea0d0de8891d9662 (diff)
downloadchromium_src-115f299f986e72331e7b2867b0cb64d952ecb85a.zip
chromium_src-115f299f986e72331e7b2867b0cb64d952ecb85a.tar.gz
chromium_src-115f299f986e72331e7b2867b0cb64d952ecb85a.tar.bz2
Sync: Attachment Store APIs for accessing attachment metadata
Introduced two new API methods to AttachmentStoreBase: - ReadMetadata - ReadAllMetadata Added unimplemented overrides for these two methods into 5 classes that derive from AttachmentStoreBase. For now the only class that has a real implementation and unit test coverage of the new methods is AttachmentStoreHandle. I'll provide implementation and test coverage for all other classes in the next change. BUG=435205 Review URL: https://codereview.chromium.org/736093003 Cr-Commit-Position: refs/heads/master@{#305168}
Diffstat (limited to 'sync/internal_api/attachments/in_memory_attachment_store.cc')
-rw-r--r--sync/internal_api/attachments/in_memory_attachment_store.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/sync/internal_api/attachments/in_memory_attachment_store.cc b/sync/internal_api/attachments/in_memory_attachment_store.cc
index c1e366d..6dbc4fa 100644
--- a/sync/internal_api/attachments/in_memory_attachment_store.cc
+++ b/sync/internal_api/attachments/in_memory_attachment_store.cc
@@ -77,4 +77,17 @@ void InMemoryAttachmentStore::Drop(const AttachmentIdList& ids,
callback_task_runner_->PostTask(FROM_HERE, base::Bind(callback, result));
}
+void InMemoryAttachmentStore::ReadMetadata(
+ const AttachmentIdList& ids,
+ const ReadMetadataCallback& callback) {
+ // TODO(stanisc): implement this.
+ NOTIMPLEMENTED();
+}
+
+void InMemoryAttachmentStore::ReadAllMetadata(
+ const ReadMetadataCallback& callback) {
+ // TODO(stanisc): implement this.
+ NOTIMPLEMENTED();
+}
+
} // namespace syncer