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

Unified Diff: chrome/browser/resources/options/options.js

Issue 2715933004: MD Settings/Options: add equivalent logs for "time until interactive" (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
Index: chrome/browser/resources/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index 821d7eaf5b7010d0e634dd1424405dfc5993de98..cdfb732b1ad120f5f64b3ef652d3ae1d1bb7ecc2 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -290,6 +290,9 @@ function load() {
window.setTimeout(function() {
document.documentElement.classList.remove('loading');
chrome.send('onFinishedLoadingOptions');
+ chrome.send(
+ 'metricsHandler:recordTime',
+ ['Settings.TimeUntilInteractive', window.performance.now()]);
}, 0);
}

Powered by Google App Engine
This is Rietveld 408576698