OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 SyncFileType file_type; | 24 SyncFileType file_type; |
25 int64_t size; | 25 int64_t size; |
26 base::Time last_modified; | 26 base::Time last_modified; |
27 | 27 |
28 bool operator==(const SyncFileMetadata& that) const; | 28 bool operator==(const SyncFileMetadata& that) const; |
29 }; | 29 }; |
30 | 30 |
31 struct LocalFileSyncInfo { | 31 struct LocalFileSyncInfo { |
32 LocalFileSyncInfo(); | 32 LocalFileSyncInfo(); |
| 33 LocalFileSyncInfo(const LocalFileSyncInfo& other); |
33 ~LocalFileSyncInfo(); | 34 ~LocalFileSyncInfo(); |
34 | 35 |
35 storage::FileSystemURL url; | 36 storage::FileSystemURL url; |
36 base::FilePath local_file_path; | 37 base::FilePath local_file_path; |
37 SyncFileMetadata metadata; | 38 SyncFileMetadata metadata; |
38 FileChangeList changes; | 39 FileChangeList changes; |
39 }; | 40 }; |
40 | 41 |
41 } // namespace sync_file_system | 42 } // namespace sync_file_system |
42 | 43 |
43 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ | 44 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ |
OLD | NEW |