From 3ca3cf205564505317c3afa1fb45b9bea2a530c0 Mon Sep 17 00:00:00 2001 From: jrummell Date: Mon, 9 Feb 2015 11:59:15 -0800 Subject: [PATCH] Remove unused methods in WebContentDecryptionModuleSessionImpl BUG=none TEST=compiles Review URL: https://codereview.chromium.org/907523003 Cr-Commit-Position: refs/heads/master@{#315366} --- .../webcontentdecryptionmodulesession_impl.cc | 24 ---------------------- .../blink/webcontentdecryptionmodulesession_impl.h | 9 -------- 2 files changed, 33 deletions(-) diff --git a/media/blink/webcontentdecryptionmodulesession_impl.cc b/media/blink/webcontentdecryptionmodulesession_impl.cc index 02d9f5e9cb17..9cb8610b3af3 100644 --- a/media/blink/webcontentdecryptionmodulesession_impl.cc +++ b/media/blink/webcontentdecryptionmodulesession_impl.cc @@ -96,25 +96,6 @@ blink::WebString WebContentDecryptionModuleSessionImpl::sessionId() const { void WebContentDecryptionModuleSessionImpl::initializeNewSession( const blink::WebString& init_data_type, const uint8* init_data, - size_t init_data_length) { - // TODO(jrummell): Remove once blink updated. - NOTREACHED(); -} - -void WebContentDecryptionModuleSessionImpl::update(const uint8* response, - size_t response_length) { - // TODO(jrummell): Remove once blink updated. - NOTREACHED(); -} - -void WebContentDecryptionModuleSessionImpl::release() { - // TODO(jrummell): Remove once blink updated. - NOTREACHED(); -} - -void WebContentDecryptionModuleSessionImpl::initializeNewSession( - const blink::WebString& init_data_type, - const uint8* init_data, size_t init_data_length, const blink::WebString& session_type, blink::WebContentDecryptionModuleResult result) { @@ -222,11 +203,6 @@ void WebContentDecryptionModuleSessionImpl::remove( result, adapter_->GetKeySystemUMAPrefix() + kRemoveSessionUMAName))); } -void WebContentDecryptionModuleSessionImpl::release( - blink::WebContentDecryptionModuleResult result) { - close(result); -} - void WebContentDecryptionModuleSessionImpl::OnSessionMessage( MediaKeys::MessageType message_type, const std::vector& message) { diff --git a/media/blink/webcontentdecryptionmodulesession_impl.h b/media/blink/webcontentdecryptionmodulesession_impl.h index 80972921447b..80b73d82d184 100644 --- a/media/blink/webcontentdecryptionmodulesession_impl.h +++ b/media/blink/webcontentdecryptionmodulesession_impl.h @@ -32,12 +32,6 @@ class WebContentDecryptionModuleSessionImpl virtual void setClientInterface(Client* client); virtual blink::WebString sessionId() const; - // TODO(jrummell): Remove the next 3 methods once blink updated. - virtual void initializeNewSession(const blink::WebString& mime_type, - const uint8* init_data, - size_t init_data_length); - virtual void update(const uint8* response, size_t response_length); - virtual void release(); virtual void initializeNewSession( const blink::WebString& init_data_type, const uint8* init_data, @@ -52,9 +46,6 @@ class WebContentDecryptionModuleSessionImpl virtual void close(blink::WebContentDecryptionModuleResult result); virtual void remove(blink::WebContentDecryptionModuleResult result); - // TODO(jrummell): Remove the next method once blink updated. - virtual void release(blink::WebContentDecryptionModuleResult result); - // Callbacks. void OnSessionMessage(MediaKeys::MessageType message_type, const std::vector& message); -- 2.11.4.GIT