OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sync/internal_api/public/attachments/fake_attachment_store.h" | 5 #include "sync/api/attachments/fake_attachment_store.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
13 #include "sync/api/attachments/attachment.h" | 13 #include "sync/api/attachments/attachment.h" |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 } | 119 } |
120 | 120 |
121 void FakeAttachmentStore::Drop(const AttachmentIdList& ids, | 121 void FakeAttachmentStore::Drop(const AttachmentIdList& ids, |
122 const DropCallback& callback) { | 122 const DropCallback& callback) { |
123 backend_task_runner_->PostTask( | 123 backend_task_runner_->PostTask( |
124 FROM_HERE, | 124 FROM_HERE, |
125 base::Bind(&FakeAttachmentStore::Backend::Drop, backend_, ids, callback)); | 125 base::Bind(&FakeAttachmentStore::Backend::Drop, backend_, ids, callback)); |
126 } | 126 } |
127 | 127 |
128 } // namespace syncer | 128 } // namespace syncer |
OLD | NEW |