diff options
author | tommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 17:45:36 +0000 |
---|---|---|
committer | tommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 17:45:36 +0000 |
commit | 7bbf03c589baa5f2bc26b3748c84ccd979e056de (patch) | |
tree | 9e7e0b6c0d06a4883c47607e80223e187ad673fa /chrome/utility/chrome_content_utility_client.h | |
parent | 30026af7347b33f5cdc72804bbc5c2833256f65d (diff) | |
download | chromium_src-7bbf03c589baa5f2bc26b3748c84ccd979e056de.zip chromium_src-7bbf03c589baa5f2bc26b3748c84ccd979e056de.tar.gz chromium_src-7bbf03c589baa5f2bc26b3748c84ccd979e056de.tar.bz2 |
Media Galleries API Picasa: Put INI indexing step into sandboxed utility process.
Picasa parses all the INI files in the Folders to build up an index of the album contents. This sandboxes that operation into the utility process.
BUG=151701
Review URL: https://chromiumcodereview.appspot.com/18562007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility/chrome_content_utility_client.h')
-rw-r--r-- | chrome/utility/chrome_content_utility_client.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h index c155cf5..419c155 100644 --- a/chrome/utility/chrome_content_utility_client.h +++ b/chrome/utility/chrome_content_utility_client.h @@ -8,6 +8,7 @@ #include "base/compiler_specific.h" #include "base/memory/scoped_vector.h" #include "base/platform_file.h" +#include "chrome/common/media_galleries/picasa_types.h" #include "content/public/utility/content_utility_client.h" #include "ipc/ipc_platform_file.h" #include "printing/pdf_render_settings.h" @@ -21,10 +22,6 @@ namespace gfx { class Rect; } -namespace picasa { -struct AlbumTableFilesForTransit; -} - namespace printing { struct PageRange; } @@ -91,11 +88,15 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { #endif // defined(OS_WIN) #if defined(OS_WIN) || defined(OS_MACOSX) + void OnParseITunesLibraryXmlFile( + IPC::PlatformFileForTransit itunes_library_file); + void OnParsePicasaPMPDatabase( const picasa::AlbumTableFilesForTransit& album_table_files); - void OnParseITunesLibraryXmlFile( - IPC::PlatformFileForTransit itunes_library_file); + void OnIndexPicasaAlbumsContents( + const picasa::AlbumUIDSet& album_uids, + const std::vector<picasa::FolderINIContents>& folders_inis); #endif // defined(OS_WIN) || defined(OS_MACOSX) typedef ScopedVector<UtilityMessageHandler> Handlers; |