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 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ |
6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ | 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
14 #include "components/sync/api/attachments/attachment.h" | 15 #include "components/sync/api/attachments/attachment.h" |
15 #include "components/sync/api/attachments/attachment_id.h" | 16 #include "components/sync/api/attachments/attachment_id.h" |
16 #include "components/sync/api/attachments/attachment_store.h" | 17 #include "components/sync/api/attachments/attachment_store.h" |
17 #include "components/sync/api/attachments/attachment_store_backend.h" | 18 #include "components/sync/api/attachments/attachment_store_backend.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 98 |
98 const base::FilePath path_; | 99 const base::FilePath path_; |
99 std::unique_ptr<leveldb::DB> db_; | 100 std::unique_ptr<leveldb::DB> db_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(OnDiskAttachmentStore); | 102 DISALLOW_COPY_AND_ASSIGN(OnDiskAttachmentStore); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace syncer | 105 } // namespace syncer |
105 | 106 |
106 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ | 107 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ |
OLD | NEW |