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 SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ | 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
13 #include "sync/api/attachments/attachment_store.h" | 13 #include "components/sync/api/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 class AttachmentStoreBackend; | 21 class AttachmentStoreBackend; |
22 | 22 |
23 // AttachmentStoreFrontend is helper to post AttachmentStore calls to backend on | 23 // AttachmentStoreFrontend is helper to post AttachmentStore calls to backend on |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual ~AttachmentStoreFrontend(); | 64 virtual ~AttachmentStoreFrontend(); |
65 | 65 |
66 std::unique_ptr<AttachmentStoreBackend> backend_; | 66 std::unique_ptr<AttachmentStoreBackend> backend_; |
67 scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; | 67 scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreFrontend); | 69 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreFrontend); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace syncer | 72 } // namespace syncer |
73 | 73 |
74 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ | 74 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_STORE_FRONTEND_H_ |
OLD | NEW |