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

Unified Diff: media/base/android/video_decoder_job.h

Issue 23480036: Support creating secure decoder in MediaCodecBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 years, 3 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/base/android/media_source_player.cc ('k') | media/base/android/video_decoder_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/video_decoder_job.h
diff --git a/media/base/android/video_decoder_job.h b/media/base/android/video_decoder_job.h
index c6acc7305052c93db8a744b6778dcea68deaafde..27a3957c6858b24f610ea9263edf9c9eb158bca6 100644
--- a/media/base/android/video_decoder_job.h
+++ b/media/base/android/video_decoder_job.h
@@ -20,14 +20,18 @@ class VideoDecoderJob : public MediaDecoderJob {
// Create a new VideoDecoderJob instance.
// |video_codec| - The video format the object needs to decode.
- // |size| - The natrual size of the output frames.
+ // |is_secure| - Whether secure decoding is required.
+ // |size| - The natural size of the output frames.
// |surface| - The surface to render the frames to.
// |media_crypto| - Handle to a Java object responsible for decrypting the
// video data.
// |request_data_cb| - Callback used to request more data for the decoder.
- static VideoDecoderJob* Create(
- const VideoCodec video_codec, const gfx::Size& size, jobject surface,
- jobject media_crypto, const base::Closure& request_data_cb);
+ static VideoDecoderJob* Create(const VideoCodec video_codec,
+ bool is_secure,
+ const gfx::Size& size,
+ jobject surface,
+ jobject media_crypto,
+ const base::Closure& request_data_cb);
private:
VideoDecoderJob(scoped_ptr<VideoCodecBridge> video_codec_bridge,
« no previous file with comments | « media/base/android/media_source_player.cc ('k') | media/base/android/video_decoder_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698