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

Unified Diff: media/blink/webcontentdecryptionmodulesession_impl.cc

Issue 2691673002: media: Add UMA to record time to GenerateRequest and LoadSession (Closed)
Patch Set: comments addressed Created 3 years, 10 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/new_session_cdm_result_promise.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webcontentdecryptionmodulesession_impl.cc
diff --git a/media/blink/webcontentdecryptionmodulesession_impl.cc b/media/blink/webcontentdecryptionmodulesession_impl.cc
index e7546ffaa70daea35a7b6db1b2a83bf7ff47b4d0..4c306ce78b845e514dc27b3e7f701b6733f16b4b 100644
--- a/media/blink/webcontentdecryptionmodulesession_impl.cc
+++ b/media/blink/webcontentdecryptionmodulesession_impl.cc
@@ -360,7 +360,7 @@ void WebContentDecryptionModuleSessionImpl::initializeNewSession(
adapter_->InitializeNewSession(
eme_init_data_type, sanitized_init_data, convertSessionType(session_type),
std::unique_ptr<NewSessionCdmPromise>(new NewSessionCdmResultPromise(
- result, adapter_->GetKeySystemUMAPrefix() + kGenerateRequestUMAName,
+ result, adapter_->GetKeySystemUMAPrefix(), kGenerateRequestUMAName,
base::Bind(
&WebContentDecryptionModuleSessionImpl::OnSessionInitialized,
weak_ptr_factory_.GetWeakPtr()))));
@@ -394,7 +394,7 @@ void WebContentDecryptionModuleSessionImpl::load(
adapter_->LoadSession(
CdmSessionType::PERSISTENT_LICENSE_SESSION, sanitized_session_id,
std::unique_ptr<NewSessionCdmPromise>(new NewSessionCdmResultPromise(
- result, adapter_->GetKeySystemUMAPrefix() + kLoadSessionUMAName,
+ result, adapter_->GetKeySystemUMAPrefix(), kLoadSessionUMAName,
base::Bind(
&WebContentDecryptionModuleSessionImpl::OnSessionInitialized,
weak_ptr_factory_.GetWeakPtr()))));
« no previous file with comments | « media/blink/new_session_cdm_result_promise.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698