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

Unified Diff: content/common/gpu/media/media_messages.h

Issue 1736643005: Decouple Media Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove base changes Created 4 years, 10 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: content/common/gpu/media/media_messages.h
diff --git a/content/common/gpu/media_messages.h b/content/common/gpu/media/media_messages.h
similarity index 97%
rename from content/common/gpu/media_messages.h
rename to content/common/gpu/media/media_messages.h
index de0affbb3ee64ee39b98b91730a241f831add9e6..9809b226dd28c3bcb21202f541e64e23e3b50be2 100644
--- a/content/common/gpu/media_messages.h
+++ b/content/common/gpu/media/media_messages.h
@@ -101,6 +101,13 @@ IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
IPC_STRUCT_TRAITS_END()
+// Create and initialize a hardware jpeg decoder using the specified route_id.
+// Created decoders should be freed with AcceleratedJpegDecoderMsg_Destroy when
+// no longer needed.
+IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CreateJpegDecoder,
+ int32_t /* route_id */,
+ bool /* succeeded */)
+
// Create and initialize a hardware video decoder using the specified route_id.
// Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when
// no longer needed.

Powered by Google App Engine
This is Rietveld 408576698