Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_ | |
| 6 #define WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/files/file_path.h" | |
| 12 #include "base/time.h" | |
| 13 | |
| 14 namespace picasaimport { | |
| 15 | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
I think this can all go into pmp_albumdata_table_r
tommycli
2013/04/08 17:17:29
Done.
| |
| 16 enum AlbumType { | |
| 17 PICASA_USER_ALBUM, | |
| 18 PICASA_FOLDER | |
| 19 }; | |
| 20 | |
| 21 struct AlbumInfo { | |
| 22 AlbumType category; | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
type?
tommycli
2013/04/08 17:17:29
I'll make two different structs as discussed in ne
| |
| 23 base::Time timestamp; | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
Do you plan on using timestamp? If not, omit it.
tommycli
2013/04/08 17:17:29
Used as first layer of de-duping identical names.
| |
| 24 base::FilePath path; | |
| 25 std::string name; | |
| 26 std::string uid; | |
| 27 }; | |
| 28 | |
| 29 } // namespace picasaimport | |
| 30 | |
| 31 #endif // WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_ | |
| OLD | NEW |