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

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

Issue 18562007: Media Galleries API Picasa: Put INI indexing step into sandboxed utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0035-picasa-import-sandbox-pmp-reading
Patch Set: Make INI file reading on MediaTaskRunner and in async batches Created 7 years, 5 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.h
diff --git a/chrome/common/media_galleries/picasa_types.h b/chrome/common/media_galleries/picasa_types.h
index 58dcf32a410137031bd913e3c6864bb493243adb..7b18bbdb8120253da5bd060150338dfbdfde87e4 100644
--- a/chrome/common/media_galleries/picasa_types.h
+++ b/chrome/common/media_galleries/picasa_types.h
@@ -13,6 +13,13 @@
namespace picasa {
+struct AlbumInfo;
+
+typedef std::set<base::FilePath> AlbumImages;
+typedef std::set<std::string> AlbumUIDSet;
+typedef std::map<std::string, AlbumImages> AlbumImagesMap;
+typedef std::map<std::string, AlbumInfo> AlbumMap;
+
const char kPicasaAlbumTableName[] = "albumdata";
struct AlbumInfo {
@@ -56,6 +63,11 @@ struct AlbumTableFilesForTransit {
IPC::PlatformFileForTransit uid_file;
};
+struct FolderINIContents {
+ base::FilePath folder_path;
+ std::string ini_contents;
+};
+
void CloseAlbumTableFiles(AlbumTableFiles* table_files);
} // namespace picasa

Powered by Google App Engine
This is Rietveld 408576698