| Index: content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| diff --git a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| index 65975186a5f7185310f928fec0ef84dfc9331d61..81d4c49e5cae71631e1b2cfde608483a3d57ce94 100644
|
| --- a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| +++ b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc
|
| @@ -15,6 +15,8 @@
|
|
|
| namespace content {
|
|
|
| +const char kCreateSessionUMAName[] = "createSession";
|
| +
|
| // For backwards compatibility with blink not using
|
| // WebContentDecryptionModuleResult, reserve an index for |outstanding_results_|
|
| // that will not be used when adding a WebContentDecryptionModuleResult.
|
| @@ -107,7 +109,8 @@ void WebContentDecryptionModuleSessionImpl::initializeNewSession(
|
| weak_ptr_factory_.GetWeakPtr(),
|
| kReservedIndex),
|
| base::Bind(&WebContentDecryptionModuleSessionImpl::OnSessionError,
|
| - weak_ptr_factory_.GetWeakPtr())));
|
| + weak_ptr_factory_.GetWeakPtr()),
|
| + adapter_->GetKeySystemUMAPrefix() + kCreateSessionUMAName));
|
| adapter_->InitializeNewSession(init_data_type_as_ascii,
|
| init_data,
|
| init_data_length,
|
| @@ -168,7 +171,8 @@ void WebContentDecryptionModuleSessionImpl::initializeNewSession(
|
| result_index),
|
| base::Bind(&WebContentDecryptionModuleSessionImpl::SessionError,
|
| weak_ptr_factory_.GetWeakPtr(),
|
| - result_index)));
|
| + result_index),
|
| + adapter_->GetKeySystemUMAPrefix() + kCreateSessionUMAName));
|
| adapter_->InitializeNewSession(init_data_type_as_ascii,
|
| init_data,
|
| init_data_length,
|
|
|