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

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: patch that compiles 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e807bc18af6ae69b4739e4688269a2ebc8d29e8a 100644
--- a/chrome/common/media_galleries/picasa_types.h
+++ b/chrome/common/media_galleries/picasa_types.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_
#define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TYPES_H_
+#include <map>
+#include <set>
#include <string>
#include "base/files/file_path.h"
@@ -13,6 +15,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 +65,11 @@ struct AlbumTableFilesForTransit {
IPC::PlatformFileForTransit uid_file;
};
+struct FolderINIContents {
+ base::FilePath folder_path;
+ std::string ini_contents;
+};
+
void CloseAlbumTableFiles(AlbumTableFiles* table_files);
} // namespace picasa
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698