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

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.h

Issue 1438063002: media: Support SetCdm() on VideoDecodeAccelerator interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/client/gpu_video_decode_accelerator_host.h
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
index d82da0725e3b35f9fa482b8b3abbcf22e3437c4a..4eb9f285b30b7de09b8ae43093318453e0227b8f 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
@@ -42,6 +42,7 @@ class GpuVideoDecodeAcceleratorHost
void ReusePictureBuffer(int32 picture_buffer_id) override;
void Flush() override;
void Reset() override;
+ void SetCdm(int cdm_id) override;
void Destroy() override;
// CommandBufferProxyImpl::DeletionObserver implemetnation.
@@ -69,6 +70,7 @@ class GpuVideoDecodeAcceleratorHost
bool allow_overlay);
void OnFlushDone();
void OnResetDone();
+ void OnCdmSet(bool success);
void OnNotifyError(uint32 error);
// Unowned reference to the GpuChannelHost to send IPC messages to the GPU
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_video_decode_accelerator_host.cc » ('j') | content/common/gpu/gpu_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698