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

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..901bf9d1b6110ff9eef139c08b74a9311b67abfd 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);
Dan Beam 2015/03/17 01:18:46 +\s\s
fserb 2015/03/17 16:02:17 Done.
+});

Powered by Google App Engine
This is Rietveld 408576698