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

Unified Diff: chrome/browser/resources/new_tab.html

Issue 8052028: NTP: Clean up of MetricsHandler class and namespacing chrome.send messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tried to remove dependencies of metricshandler, most still necessary in NewTabUI Created 9 years, 3 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/new_tab.html
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index 183d875afe44bdfd75be7bb6d393b32b5659fff4..488928c42fe4c06bec7f178225e0d1bba100baac 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -16,7 +16,7 @@
var log = [];
function logEvent(name, shouldLogTime) {
if (shouldLogTime) {
- chrome.send('logEventTime', [name]);
+ chrome.send('metricsHandler:logEventTime', [name]);
}
log.push([name, Date.now()]);
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp/most_visited.js » ('j') | chrome/browser/ui/webui/ntp/metrics_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698