Home | History | Annotate | Download | only in attachments

Lines Matching defs:Backend

17 // Backend is where all the work happens.
18 class FakeAttachmentStore::Backend
19 : public base::RefCountedThreadSafe<FakeAttachmentStore::Backend> {
21 // Construct a Backend that posts its results to |frontend_task_runner|.
22 Backend(
30 friend class base::RefCountedThreadSafe<Backend>;
32 ~Backend();
38 FakeAttachmentStore::Backend::Backend(
42 FakeAttachmentStore::Backend::~Backend() {}
44 void FakeAttachmentStore::Backend::Read(const AttachmentIdList& ids,
73 void FakeAttachmentStore::Backend::Write(const AttachmentList& attachments,
83 void FakeAttachmentStore::Backend::Drop(const AttachmentIdList& ids,
99 : backend_(new Backend(base::MessageLoopProxy::current())),
108 base::Bind(&FakeAttachmentStore::Backend::Read, backend_, ids, callback));
115 base::Bind(&FakeAttachmentStore::Backend::Write,
125 base::Bind(&FakeAttachmentStore::Backend::Drop, backend_, ids, callback));