Commit 3ca3cf20 authored by jrummell's avatar jrummell Committed by Commit bot

Remove unused methods in WebContentDecryptionModuleSessionImpl

BUG=none
TEST=compiles

Review URL: https://codereview.chromium.org/907523003

Cr-Commit-Position: refs/heads/master@{#315366}
parent d7e06272
...@@ -93,25 +93,6 @@ blink::WebString WebContentDecryptionModuleSessionImpl::sessionId() const { ...@@ -93,25 +93,6 @@ blink::WebString WebContentDecryptionModuleSessionImpl::sessionId() const {
return blink::WebString::fromUTF8(session_id_); return blink::WebString::fromUTF8(session_id_);
} }
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( void WebContentDecryptionModuleSessionImpl::initializeNewSession(
const blink::WebString& init_data_type, const blink::WebString& init_data_type,
const uint8* init_data, const uint8* init_data,
...@@ -222,11 +203,6 @@ void WebContentDecryptionModuleSessionImpl::remove( ...@@ -222,11 +203,6 @@ void WebContentDecryptionModuleSessionImpl::remove(
result, adapter_->GetKeySystemUMAPrefix() + kRemoveSessionUMAName))); result, adapter_->GetKeySystemUMAPrefix() + kRemoveSessionUMAName)));
} }
void WebContentDecryptionModuleSessionImpl::release(
blink::WebContentDecryptionModuleResult result) {
close(result);
}
void WebContentDecryptionModuleSessionImpl::OnSessionMessage( void WebContentDecryptionModuleSessionImpl::OnSessionMessage(
MediaKeys::MessageType message_type, MediaKeys::MessageType message_type,
const std::vector<uint8>& message) { const std::vector<uint8>& message) {
......
...@@ -32,12 +32,6 @@ class WebContentDecryptionModuleSessionImpl ...@@ -32,12 +32,6 @@ class WebContentDecryptionModuleSessionImpl
virtual void setClientInterface(Client* client); virtual void setClientInterface(Client* client);
virtual blink::WebString sessionId() const; 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( virtual void initializeNewSession(
const blink::WebString& init_data_type, const blink::WebString& init_data_type,
const uint8* init_data, const uint8* init_data,
...@@ -52,9 +46,6 @@ class WebContentDecryptionModuleSessionImpl ...@@ -52,9 +46,6 @@ class WebContentDecryptionModuleSessionImpl
virtual void close(blink::WebContentDecryptionModuleResult result); virtual void close(blink::WebContentDecryptionModuleResult result);
virtual void remove(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. // Callbacks.
void OnSessionMessage(MediaKeys::MessageType message_type, void OnSessionMessage(MediaKeys::MessageType message_type,
const std::vector<uint8>& message); const std::vector<uint8>& message);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment