OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ | 5 #ifndef SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ |
6 #define SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ | 6 #define SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_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 "sync/base/sync_export.h" | 12 #include "sync/base/sync_export.h" |
12 #include "sync/syncable/directory_backing_store.h" | 13 #include "sync/syncable/directory_backing_store.h" |
13 | 14 |
14 namespace syncer { | 15 namespace syncer { |
15 namespace syncable { | 16 namespace syncable { |
16 | 17 |
17 // This is the concrete class that provides a useful implementation of | 18 // This is the concrete class that provides a useful implementation of |
18 // DirectoryBackingStore. | 19 // DirectoryBackingStore. |
19 class SYNC_EXPORT OnDiskDirectoryBackingStore : public DirectoryBackingStore { | 20 class SYNC_EXPORT OnDiskDirectoryBackingStore : public DirectoryBackingStore { |
20 public: | 21 public: |
(...skipping 23 matching lines...) Expand all Loading... |
44 // The path to the sync DB. | 45 // The path to the sync DB. |
45 const base::FilePath backing_file_path_; | 46 const base::FilePath backing_file_path_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(OnDiskDirectoryBackingStore); | 48 DISALLOW_COPY_AND_ASSIGN(OnDiskDirectoryBackingStore); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace syncable | 51 } // namespace syncable |
51 } // namespace syncer | 52 } // namespace syncer |
52 | 53 |
53 #endif // SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ | 54 #endif // SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ |
OLD | NEW |