| Index: content/renderer/media/android/webmediaplayer_android.h
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
|
| index 2294b7cf47655b0dba35f6210146cf2b831d65f7..c1e301011da7c6b01a08f0ed1d6b65cf6c633ebc 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.h
|
| +++ b/content/renderer/media/android/webmediaplayer_android.h
|
| @@ -318,6 +318,9 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
|
| MediaKeyException CancelKeyRequestInternal(const std::string& key_system,
|
| const std::string& session_id);
|
|
|
| + // Called when |cdm_context| is ready.
|
| + void OnCdmContextReady(media::CdmContext* cdm_context);
|
| +
|
| // Sets the CDM. Should only be called when |is_player_initialized_| is true
|
| // and a new non-null |cdm_context_| is available. Fires |cdm_attached_cb_|
|
| // with the result after the CDM is attached.
|
|
|