| Index: chrome/common/chrome_utility_messages.h
|
| diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
|
| index 3534f60e17e8a0635e08dfd07b7eb79763058e45..d14def5019ec5b837b2d0860a89df75fd8b6650e 100644
|
| --- a/chrome/common/chrome_utility_messages.h
|
| +++ b/chrome/common/chrome_utility_messages.h
|
| @@ -189,6 +189,16 @@ IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents,
|
| std::vector<picasa::FolderINIContents> /* folders_inis */)
|
| #endif // defined(OS_WIN) || defined(OS_MACOSX)
|
|
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| +// Tell the utility process to attempt to validate the passed media file. The
|
| +// file will undergo basic sanity checks and will be decoded for up to
|
| +// |milliseconds_of_decoding| wall clock time. It is still not safe to decode
|
| +// the file in the browser process after this check.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile,
|
| + int64 /* milliseconds_of_decoding */,
|
| + IPC::PlatformFileForTransit /* Media file to parse */)
|
| +#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
| +
|
| //------------------------------------------------------------------------------
|
| // Utility process host messages:
|
| // These are messages from the utility process to the browser.
|
| @@ -312,3 +322,10 @@ IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished,
|
| IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished,
|
| picasa::AlbumImagesMap /* albums_images */)
|
| #endif // defined(OS_WIN) || defined(OS_MACOSX)
|
| +
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| +// Reply after checking the passed media file. A true result indicates that
|
| +// the file appears to be a well formed media file.
|
| +IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished,
|
| + bool /* passed_checks */)
|
| +#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
|
|