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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 103283003: Media Galleries API Metadata: SafeMediaMetadataParser and IPCTunnelDataReader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review 2 Created 7 years 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/chrome_utility_messages.h
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
index 1e63b12f46e0f0e78580f857d1c29bb993564df0..a286044ee52ac0d1116789563c1ef3e7ff0138e9 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -227,6 +227,15 @@ IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents,
IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile,
int64 /* milliseconds_of_decoding */,
IPC::PlatformFileForTransit /* Media file to parse */)
+
+IPC_MESSAGE_CONTROL1(
+ ChromeUtilityMsg_ParseMediaMetadata,
+ std::string /* mime_type */)
+
+IPC_MESSAGE_CONTROL2(
+ ChromeUtilityMsg_ParseMediaMetadata_RequestBlobBytes_Finished,
+ int64 /* request_id */,
+ std::string /* bytes */)
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
//------------------------------------------------------------------------------
@@ -372,4 +381,15 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished,
// the file appears to be a well formed media file.
IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished,
bool /* passed_checks */)
+
+IPC_MESSAGE_CONTROL2(
+ ChromeUtilityHostMsg_ParseMediaMetadata_Finished,
+ bool /* parse_success */,
+ base::DictionaryValue /* metadata */)
+
+IPC_MESSAGE_CONTROL3(
+ ChromeUtilityHostMsg_ParseMediaMetadata_RequestBlobBytes,
+ int64 /* request_id */,
+ int64 /* start_byte */,
+ int64 /* length */)
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)

Powered by Google App Engine
This is Rietveld 408576698