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 | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
nit: extra line
tommycli
2013/04/08 17:17:29
Done.
| |
| 5 | |
| 6 #ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PMP_ALBUMDATA_TABLE_READER_H_ | |
| 7 #define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_ALBUMDATA_TABLE_READER_H_ | |
| 8 | |
| 9 #include "base/files/file_path.h" | |
| 10 #include "webkit/fileapi/media/picasa/album_info.h" | |
| 11 #include "webkit/fileapi/media/picasa/pmp_table_reader.h" | |
| 12 #include "webkit/storage/webkit_storage_export.h" | |
| 13 | |
| 14 namespace picasaimport { | |
| 15 | |
| 16 class WEBKIT_STORAGE_EXPORT_PRIVATE PmpAlbumdataTableReader | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
At this level, I think this is Picasa specific and
tommycli
2013/04/08 17:17:29
Done.
| |
| 17 : public PmpTableReader { | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
Does this need to inherit the table reader? In ge
tommycli
2013/04/08 17:17:29
Done.
| |
| 18 public: | |
| 19 PmpAlbumdataTableReader(); | |
| 20 virtual ~PmpAlbumdataTableReader(); | |
| 21 | |
| 22 virtual bool Init(const base::FilePath& directory_path) OVERRIDE; | |
| 23 | |
| 24 std::vector<AlbumInfo> folders() { | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
If you're going to separate folders and user album
tommycli
2013/04/08 17:17:29
Done.
| |
| 25 return folders_; | |
| 26 } | |
| 27 | |
| 28 std::vector<AlbumInfo> user_albums() { | |
| 29 return user_albums_; | |
| 30 } | |
| 31 | |
| 32 private: | |
| 33 std::vector<AlbumInfo> folders_; | |
|
vandebo (ex-Chrome)
2013/04/06 01:10:30
Since you're storing all the data at this level, I
tommycli
2013/04/08 17:17:29
Done.
| |
| 34 std::vector<AlbumInfo> user_albums_; | |
| 35 | |
| 36 DISALLOW_COPY_AND_ASSIGN (PmpAlbumdataTableReader); | |
| 37 }; | |
| 38 | |
| 39 } // namespace picasaimport | |
| 40 | |
| 41 #endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_ALBUMDATA_TABLE_READER_H_ | |
| OLD | NEW |