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

Unified Diff: media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: rebased Created 3 years, 7 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 | « media/gpu/ipc/client/gpu_video_decode_accelerator_host.h ('k') | media/gpu/ipc/common/media_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
diff --git a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
index 6820ea1db7964ad7094d665da4313859733e3d7a..e24195f137352f359390bde605be94054b9e67f7 100644
--- a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
+++ b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
@@ -169,12 +169,14 @@ void GpuVideoDecodeAcceleratorHost::Reset() {
Send(new AcceleratedVideoDecoderMsg_Reset(decoder_route_id_));
}
-void GpuVideoDecodeAcceleratorHost::SetSurface(int32_t surface_id) {
+void GpuVideoDecodeAcceleratorHost::SetSurface(
+ int32_t surface_id,
+ const base::Optional<base::UnguessableToken>& routing_token) {
DCHECK(CalledOnValidThread());
if (!channel_)
return;
- Send(
- new AcceleratedVideoDecoderMsg_SetSurface(decoder_route_id_, surface_id));
+ Send(new AcceleratedVideoDecoderMsg_SetSurface(decoder_route_id_, surface_id,
+ routing_token));
}
void GpuVideoDecodeAcceleratorHost::Destroy() {
« no previous file with comments | « media/gpu/ipc/client/gpu_video_decode_accelerator_host.h ('k') | media/gpu/ipc/common/media_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698