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_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ | 5 #ifndef CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ |
6 #define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ | 6 #define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 ~AlbumInfo(); | 49 ~AlbumInfo(); |
50 | 50 |
51 std::string name; | 51 std::string name; |
52 base::Time timestamp; | 52 base::Time timestamp; |
53 std::string uid; | 53 std::string uid; |
54 base::FilePath path; | 54 base::FilePath path; |
55 }; | 55 }; |
56 | 56 |
57 struct AlbumTableFiles { | 57 struct AlbumTableFiles { |
58 MOVE_ONLY_TYPE_FOR_CPP_03(AlbumTableFiles, RValue) | 58 MOVE_ONLY_TYPE_FOR_CPP_03(AlbumTableFiles) |
59 public: | 59 public: |
60 AlbumTableFiles(); | 60 AlbumTableFiles(); |
61 explicit AlbumTableFiles(const base::FilePath& directory_path); | 61 explicit AlbumTableFiles(const base::FilePath& directory_path); |
62 ~AlbumTableFiles(); | 62 ~AlbumTableFiles(); |
63 | 63 |
64 // C++03 move emulation of this type. | 64 AlbumTableFiles(AlbumTableFiles&& other); |
65 AlbumTableFiles(RValue other); | 65 AlbumTableFiles& operator=(AlbumTableFiles&& other); |
66 AlbumTableFiles& operator=(RValue other); | |
67 | 66 |
68 // Special empty file used to confirm existence of table. | 67 // Special empty file used to confirm existence of table. |
69 base::File indicator_file; | 68 base::File indicator_file; |
70 | 69 |
71 base::File category_file; | 70 base::File category_file; |
72 base::File date_file; | 71 base::File date_file; |
73 base::File filename_file; | 72 base::File filename_file; |
74 base::File name_file; | 73 base::File name_file; |
75 base::File token_file; | 74 base::File token_file; |
76 base::File uid_file; | 75 base::File uid_file; |
(...skipping 17 matching lines...) Expand all Loading... |
94 std::string ini_contents; | 93 std::string ini_contents; |
95 | 94 |
96 bool operator<(const FolderINIContents& that) const { | 95 bool operator<(const FolderINIContents& that) const { |
97 return folder_path < that.folder_path; | 96 return folder_path < that.folder_path; |
98 } | 97 } |
99 }; | 98 }; |
100 | 99 |
101 } // namespace picasa | 100 } // namespace picasa |
102 | 101 |
103 #endif // CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ | 102 #endif // CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_ |
OLD | NEW |