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

Unified Diff: telemetry/telemetry/internal/actions/seek.js

Issue 3002623002: [WIP] Port media metrics to TBMv2 (Closed)
Patch Set: Change console.time to performance.mark Created 3 years, 4 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 | « telemetry/telemetry/internal/actions/play.js ('k') | tracing/trace_viewer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/actions/seek.js
diff --git a/telemetry/telemetry/internal/actions/seek.js b/telemetry/telemetry/internal/actions/seek.js
index baef30cc77061d9c5edc1f9922bcde43ff1e2637..166da72364445d82f1cfcd47927f7eb87885c278 100644
--- a/telemetry/telemetry/internal/actions/seek.js
+++ b/telemetry/telemetry/internal/actions/seek.js
@@ -45,6 +45,7 @@
else
willSeekEvent.seekLabel = seekTime;
element.dispatchEvent(willSeekEvent);
+ performance.mark('seekLabel-' + willSeekEvent.seekLabel);
}
try {
element.currentTime = seekTime;
« no previous file with comments | « telemetry/telemetry/internal/actions/play.js ('k') | tracing/trace_viewer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698