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

Unified Diff: chrome/browser/resources/local_ntp/most_visited_title.js

Issue 1007383003: Adds a new UMA histogram to measure the NTP load time since navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/local_ntp/most_visited_title.js
diff --git a/chrome/browser/resources/local_ntp/most_visited_title.js b/chrome/browser/resources/local_ntp/most_visited_title.js
index 223afeee026a3816bd5ecc1cb26cbe0dfe3ea330..75be33b791df6486dd5821cdeee511e51282f551 100644
--- a/chrome/browser/resources/local_ntp/most_visited_title.js
+++ b/chrome/browser/resources/local_ntp/most_visited_title.js
@@ -17,3 +17,8 @@ window.addEventListener('DOMContentLoaded', function() {
data.provider));
});
});
+
+window.addEventListener('load', function() {
+ chrome.embeddedSearch.newTabPage.logEvent(
+ NTP_LOGGING_EVENT_TYPE.NTP_TILE_LOADED);
+});
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_thumbnail.js ('k') | chrome/browser/resources/local_ntp/most_visited_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698