OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ |
6 #define COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ | 6 #define COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "components/sync/api/attachments/attachment.h" | 11 #include "components/sync/model/attachments/attachment.h" |
12 #include "components/sync/api/attachments/attachment_id.h" | 12 #include "components/sync/model/attachments/attachment_id.h" |
13 #include "components/sync/api/attachments/attachment_store.h" | 13 #include "components/sync/model/attachments/attachment_store.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
17 } // namespace base | 17 } // namespace base |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 | 20 |
21 // Interface for AttachmentStore backends. | 21 // Interface for AttachmentStore backends. |
22 // | 22 // |
23 // AttachmentStoreBackend provides interface for different backends (on-disk, | 23 // AttachmentStoreBackend provides interface for different backends (on-disk, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 private: | 60 private: |
61 scoped_refptr<base::SequencedTaskRunner> callback_task_runner_; | 61 scoped_refptr<base::SequencedTaskRunner> callback_task_runner_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreBackend); | 63 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreBackend); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace syncer | 66 } // namespace syncer |
67 | 67 |
68 #endif // COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ | 68 #endif // COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ |
OLD | NEW |