| Index: media/base/android/media_drm_bridge.h
|
| diff --git a/media/base/android/media_drm_bridge.h b/media/base/android/media_drm_bridge.h
|
| index 5ca84f21f5a09cfa61de9b2a3dc8cc1c125c7f18..0ffbffef87516ec4cf12aa861abe27131f4818fd 100644
|
| --- a/media/base/android/media_drm_bridge.h
|
| +++ b/media/base/android/media_drm_bridge.h
|
| @@ -38,6 +38,11 @@ class MEDIA_EXPORT MediaDrmBridge : public MediaKeys {
|
| // Checks whether MediaDRM is available.
|
| static bool IsAvailable();
|
|
|
| + static bool IsCryptoSchemeSupported(const std::vector<uint8>& scheme_uuid,
|
| + const std::string& container_mime_type);
|
| +
|
| + static bool IsSecureDecoderRequired(const std::string& security_level_str);
|
| +
|
| static bool RegisterMediaDrmBridge(JNIEnv* env);
|
|
|
| // MediaKeys implementations.
|
| @@ -69,6 +74,8 @@ class MEDIA_EXPORT MediaDrmBridge : public MediaKeys {
|
| int media_keys_id() const { return media_keys_id_; }
|
|
|
| private:
|
| + static bool IsSecureDecoderRequired(SecurityLevel security_level);
|
| +
|
| MediaDrmBridge(int media_keys_id,
|
| const std::vector<uint8>& scheme_uuid,
|
| MediaPlayerManager* manager);
|
|
|