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 COMPONENTS_SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ |
6 #define SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ | 6 #define COMPONENTS_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 "base/macros.h" |
12 #include "sync/base/sync_export.h" | 12 #include "components/sync/base/sync_export.h" |
13 #include "sync/syncable/directory_backing_store.h" | 13 #include "components/sync/syncable/directory_backing_store.h" |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
16 namespace syncable { | 16 namespace syncable { |
17 | 17 |
18 // This is the concrete class that provides a useful implementation of | 18 // This is the concrete class that provides a useful implementation of |
19 // DirectoryBackingStore. | 19 // DirectoryBackingStore. |
20 class SYNC_EXPORT OnDiskDirectoryBackingStore : public DirectoryBackingStore { | 20 class SYNC_EXPORT OnDiskDirectoryBackingStore : public DirectoryBackingStore { |
21 public: | 21 public: |
22 OnDiskDirectoryBackingStore(const std::string& dir_name, | 22 OnDiskDirectoryBackingStore(const std::string& dir_name, |
23 const base::FilePath& backing_file_path); | 23 const base::FilePath& backing_file_path); |
(...skipping 20 matching lines...) Expand all Loading... |
44 | 44 |
45 // The path to the sync DB. | 45 // The path to the sync DB. |
46 const base::FilePath backing_file_path_; | 46 const base::FilePath backing_file_path_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(OnDiskDirectoryBackingStore); | 48 DISALLOW_COPY_AND_ASSIGN(OnDiskDirectoryBackingStore); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace syncable | 51 } // namespace syncable |
52 } // namespace syncer | 52 } // namespace syncer |
53 | 53 |
54 #endif // SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ | 54 #endif // COMPONENTS_SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ |
OLD | NEW |