Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: media/blink/webencryptedmediaclient_impl.cc

Issue 1132773003: Revert of Plumb |use_secure_codecs| through to BrowserCdmFactoryAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.h ('k') | media/cdm/default_cdm_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webencryptedmediaclient_impl.cc
diff --git a/media/blink/webencryptedmediaclient_impl.cc b/media/blink/webencryptedmediaclient_impl.cc
index 1ef61af946b666165aecc96c5969e86ee90ec7fa..3ce96ed8a2412559afcbf86e1833c6c78134b660 100644
--- a/media/blink/webencryptedmediaclient_impl.cc
+++ b/media/blink/webencryptedmediaclient_impl.cc
@@ -105,23 +105,25 @@
void WebEncryptedMediaClientImpl::CreateCdm(
const blink::WebString& key_system,
+ bool allow_distinctive_identifier,
+ bool allow_persistent_state,
const blink::WebSecurityOrigin& security_origin,
- const CdmConfig& cdm_config,
blink::WebContentDecryptionModuleResult result) {
WebContentDecryptionModuleImpl::Create(
- cdm_factory_, key_system, security_origin, cdm_config, result);
+ cdm_factory_, key_system, allow_distinctive_identifier,
+ allow_persistent_state, security_origin, result);
}
void WebEncryptedMediaClientImpl::OnRequestSucceeded(
blink::WebEncryptedMediaRequest request,
const blink::WebMediaKeySystemConfiguration& accumulated_configuration,
- const CdmConfig& cdm_config) {
+ bool are_secure_codecs_required) {
GetReporter(request.keySystem())->ReportSupported();
// TODO(sandersd): Pass |are_secure_codecs_required| along and use it to
// configure the CDM security level and use of secure surfaces on Android.
request.requestSucceeded(WebContentDecryptionModuleAccessImpl::Create(
- request.keySystem(), request.securityOrigin(), accumulated_configuration,
- cdm_config, weak_factory_.GetWeakPtr()));
+ request.keySystem(), accumulated_configuration, request.securityOrigin(),
+ weak_factory_.GetWeakPtr()));
}
void WebEncryptedMediaClientImpl::OnRequestNotSupported(
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.h ('k') | media/cdm/default_cdm_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698