| Index: content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| diff --git a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| index d9bb455254f9ac02d935511dc32d6a6053ad7645..871c31fb3ee9cb64495227d244ae9a9a1b4b5af1 100644
|
| --- a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| +++ b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| @@ -184,10 +184,6 @@ void WebContentDecryptionModuleSessionImpl::OnSessionExpirationUpdate(
|
| client_->expirationChanged(new_expiry_time.ToJsTime());
|
| }
|
|
|
| -void WebContentDecryptionModuleSessionImpl::OnSessionReady() {
|
| - client_->ready();
|
| -}
|
| -
|
| void WebContentDecryptionModuleSessionImpl::OnSessionClosed() {
|
| if (is_closed_)
|
| return;
|
| @@ -196,25 +192,6 @@ void WebContentDecryptionModuleSessionImpl::OnSessionClosed() {
|
| client_->close();
|
| }
|
|
|
| -void WebContentDecryptionModuleSessionImpl::OnSessionError(
|
| - media::MediaKeys::Exception exception_code,
|
| - uint32 system_code,
|
| - const std::string& error_message) {
|
| - // Convert |exception_code| back to MediaKeyErrorCode if possible.
|
| - // TODO(jrummell): Update this conversion when promises flow
|
| - // back into blink:: (as blink:: will have its own error definition).
|
| - switch (exception_code) {
|
| - case media::MediaKeys::CLIENT_ERROR:
|
| - client_->error(Client::MediaKeyErrorCodeClient, system_code);
|
| - break;
|
| - default:
|
| - // This will include all other CDM4 errors and any error generated
|
| - // by CDM5 or later.
|
| - client_->error(Client::MediaKeyErrorCodeUnknown, system_code);
|
| - break;
|
| - }
|
| -}
|
| -
|
| blink::WebContentDecryptionModuleResult::SessionStatus
|
| WebContentDecryptionModuleSessionImpl::OnSessionInitialized(
|
| const std::string& web_session_id) {
|
|
|