| Index: mojo/services/html_viewer/webmimeregistry_impl.cc
|
| diff --git a/mojo/services/html_viewer/webmimeregistry_impl.cc b/mojo/services/html_viewer/webmimeregistry_impl.cc
|
| index c839610700e7188bd0acb5babd2cd2f2e2c77a98..0b7b689393fafa9eb356646caa8aa924eda1670b 100644
|
| --- a/mojo/services/html_viewer/webmimeregistry_impl.cc
|
| +++ b/mojo/services/html_viewer/webmimeregistry_impl.cc
|
| @@ -101,30 +101,6 @@ bool WebMimeRegistryImpl::supportsMediaSourceMIMEType(
|
| parsed_codec_ids);
|
| }
|
|
|
| -bool WebMimeRegistryImpl::supportsEncryptedMediaMIMEType(
|
| - const blink::WebString& key_system,
|
| - const blink::WebString& mime_type,
|
| - const blink::WebString& codecs) {
|
| - // Only supports ASCII parameters.
|
| - if (!base::IsStringASCII(key_system) || !base::IsStringASCII(mime_type) ||
|
| - !base::IsStringASCII(codecs)) {
|
| - return false;
|
| - }
|
| -
|
| - if (key_system.isEmpty())
|
| - return false;
|
| -
|
| - const std::string mime_type_ascii = base::UTF16ToASCII(mime_type);
|
| -
|
| - std::vector<std::string> codec_vector;
|
| - bool strip_suffix = !net::IsStrictMediaMimeType(mime_type_ascii);
|
| - net::ParseCodecString(base::UTF16ToASCII(codecs), &codec_vector,
|
| - strip_suffix);
|
| -
|
| - return media::IsSupportedKeySystemWithMediaMimeType(
|
| - mime_type_ascii, codec_vector, base::UTF16ToASCII(key_system));
|
| -}
|
| -
|
| blink::WebMimeRegistry::SupportsType
|
| WebMimeRegistryImpl::supportsNonImageMIMEType(
|
| const blink::WebString& mime_type) {
|
|
|