Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: webkit/fileapi/media/picasa/album_info.h

Issue 13529028: PicasaAlbumTableReader for Media Galleries API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0005-picasa-import-pmp-reader
Patch Set: Formatting fixes. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/media/picasa/album_info.h
diff --git a/webkit/fileapi/media/picasa/album_info.h b/webkit/fileapi/media/picasa/album_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..e23fcf122a88522a75b18812cc8e01bbd0d7f93f
--- /dev/null
+++ b/webkit/fileapi/media/picasa/album_info.h
@@ -0,0 +1,31 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_
+#define WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "base/files/file_path.h"
+#include "base/time.h"
+
+namespace picasaimport {
+
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.
+enum AlbumType {
+ PICASA_USER_ALBUM,
+ PICASA_FOLDER
+};
+
+struct AlbumInfo {
+ 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
+ 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.
+ base::FilePath path;
+ std::string name;
+ std::string uid;
+};
+
+} // namespace picasaimport
+
+#endif // WEBKIT_FILEAPI_MEDIA_PICASA_PICASA_ALBUM_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698