Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: components/sync/core/attachments/on_disk_attachment_store.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "sync/api/attachments/attachment.h" 14 #include "components/sync/api/attachments/attachment.h"
15 #include "sync/api/attachments/attachment_id.h" 15 #include "components/sync/api/attachments/attachment_id.h"
16 #include "sync/api/attachments/attachment_store.h" 16 #include "components/sync/api/attachments/attachment_store.h"
17 #include "sync/api/attachments/attachment_store_backend.h" 17 #include "components/sync/api/attachments/attachment_store_backend.h"
18 #include "sync/base/sync_export.h" 18 #include "components/sync/base/sync_export.h"
19 19
20 namespace attachment_store_pb { 20 namespace attachment_store_pb {
21 class RecordMetadata; 21 class RecordMetadata;
22 } // namespace attachment_store_pb 22 } // namespace attachment_store_pb
23 23
24 namespace base { 24 namespace base {
25 class SequencedTaskRunner; 25 class SequencedTaskRunner;
26 } // namespace base 26 } // namespace base
27 27
28 namespace leveldb { 28 namespace leveldb {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const attachment_store_pb::RecordMetadata& record_metadata); 97 const attachment_store_pb::RecordMetadata& record_metadata);
98 98
99 const base::FilePath path_; 99 const base::FilePath path_;
100 std::unique_ptr<leveldb::DB> db_; 100 std::unique_ptr<leveldb::DB> db_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(OnDiskAttachmentStore); 102 DISALLOW_COPY_AND_ASSIGN(OnDiskAttachmentStore);
103 }; 103 };
104 104
105 } // namespace syncer 105 } // namespace syncer
106 106
107 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_ 107 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ON_DISK_ATTACHMENT_STORE_H_
OLDNEW
« no previous file with comments | « components/sync/core/attachments/in_memory_attachment_store.h ('k') | components/sync/core/attachments/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698