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

Unified Diff: chrome/common/media_galleries/picasa_types.cc

Issue 18986012: Media Galleries API Picasa: Make PicasaDataProvider handle async PMP and INI parsing robustly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0039-picasa-import-sandbox-ini-parsing
Patch Set: update comment Created 7 years, 4 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: chrome/common/media_galleries/picasa_types.cc
diff --git a/chrome/common/media_galleries/picasa_types.cc b/chrome/common/media_galleries/picasa_types.cc
index a7be5e3c03425687b9d75681d7cd76d2e090e787..7a3b3088fb199e4ec76a83f14462c32816f22925 100644
--- a/chrome/common/media_galleries/picasa_types.cc
+++ b/chrome/common/media_galleries/picasa_types.cc
@@ -32,6 +32,13 @@ void ClosePlatformFile(base::PlatformFile* platform_file) {
} // namespace
+const char kPicasaAlbumTableName[] = "albumdata";
+const char kAlbumTokenPrefix[] = "]album:";
+
+const uint32 kAlbumCategoryAlbum = 0;
+const uint32 kAlbumCategoryFolder = 2;
+const uint32 kAlbumCategoryInvalid = 0xffff; // Sentinel value.
+
AlbumInfo::AlbumInfo() {}
AlbumInfo::AlbumInfo(const std::string& name, const base::Time& timestamp,
« no previous file with comments | « chrome/common/media_galleries/picasa_types.h ('k') | chrome/utility/media_galleries/picasa_album_table_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698