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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.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/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index 2b2c3b7f0ba19460f382ac84046b156183e3dc86..2784e5862f55b9ac1adee1650d1eb1a2b7956846 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -51,6 +51,7 @@ class GpuVideoDecodeAccelerator
void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) override;
void NotifyFlushDone() override;
void NotifyResetDone() override;
+ void NotifyCdmSet(bool success) override;
liberato (no reviews please) 2015/11/11 23:29:10 was broken before, but would you mind reordering t
xhwang 2015/11/13 01:16:55 Done.
// GpuCommandBufferStub::DestructionObserver implementation.
void OnWillDestroyStub() override;
@@ -94,6 +95,7 @@ class GpuVideoDecodeAccelerator
void OnReusePictureBuffer(int32 picture_buffer_id);
void OnFlush();
void OnReset();
+ void OnSetCdm(int cdm_id);
void OnDestroy();
// Called on IO thread when |filter_| has been removed.

Powered by Google App Engine
This is Rietveld 408576698