Chromium Code Reviews| Index: media/base/android/media_codec_bridge.h |
| diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h |
| index 3469b1804e7525fb423244162284c617169e7bee..2bbbd17a2b84a6d3a6940b2ca6b4f3753515a5f8 100644 |
| --- a/media/base/android/media_codec_bridge.h |
| +++ b/media/base/android/media_codec_bridge.h |
| @@ -39,6 +39,9 @@ class MEDIA_EXPORT MediaCodecBridge { |
| // Returns true if MediaCodec is available on the device. |
| static bool IsAvailable(); |
| + // Returns if MediaCodecBridge can play |mime| type in |secure| mode. |
|
ddorwin
2013/08/27 18:14:19
1) Is |mime| the correct name?
2) Who is converti
xhwang
2013/08/28 01:21:24
Current code uses AudioCodecToMimeType and VideoCo
ddorwin
2013/08/28 02:28:50
I think we should hide these platform-specific str
xhwang
2013/08/28 18:19:15
I agree that we should not expose this non-standar
|
| + static bool CanPlayType(const char* mime, bool secure); |
|
ddorwin
2013/08/27 18:14:19
Why not use "const std::string&" ?
xhwang
2013/08/28 01:21:24
Done.
|
| + |
| virtual ~MediaCodecBridge(); |
| // Resets both input and output, all indices previously returned in calls to |