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

Unified Diff: media/blink/cdm_result_promise_helper.h

Issue 2691673002: media: Add UMA to record time to GenerateRequest and LoadSession (Closed)
Patch Set: 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 | « no previous file | media/blink/cdm_result_promise_helper.cc » ('j') | media/blink/cdm_result_promise_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/cdm_result_promise_helper.h
diff --git a/media/blink/cdm_result_promise_helper.h b/media/blink/cdm_result_promise_helper.h
index 443f64688a06cb2add3e8df53ca68a642b51a383..0be4b726096b8f51b13d0ab10c8df254ef651d21 100644
--- a/media/blink/cdm_result_promise_helper.h
+++ b/media/blink/cdm_result_promise_helper.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/time/time.h"
#include "media/base/cdm_promise.h"
#include "media/blink/media_blink_export.h"
#include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h"
@@ -38,6 +39,9 @@ ConvertCdmException(CdmPromise::Exception exception_code);
MEDIA_BLINK_EXPORT void ReportCdmResultUMA(const std::string& uma_name,
CdmResultForUMA result);
+MEDIA_BLINK_EXPORT void ReportTimeUMA(const std::string& uma_name,
+ base::TimeDelta time);
+
} // namespace media
#endif // MEDIA_BLINK_CDM_RESULT_PROMISE_HELPER_H_
« no previous file with comments | « no previous file | media/blink/cdm_result_promise_helper.cc » ('j') | media/blink/cdm_result_promise_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698