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

Unified Diff: chrome/browser/resources/ntp4/logging.js

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: removed whitespace and rebased 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/ntp4/logging.js
diff --git a/chrome/browser/resources/ntp4/logging.js b/chrome/browser/resources/ntp4/logging.js
index 076fcbdcd7370f3f889456de6cb4ae83da721c44..faf89378aa6917ed01368e279e00274d8488aba8 100644
--- a/chrome/browser/resources/ntp4/logging.js
+++ b/chrome/browser/resources/ntp4/logging.js
@@ -19,7 +19,7 @@ var eventLog = [];
*/
function logEvent(name, shouldLogTime) {
if (shouldLogTime)
- chrome.send('logEventTime', [name]);
+ chrome.send('metricsHandler:logEventTime', [name]);
eventLog.push([name, Date.now()]);
}

Powered by Google App Engine
This is Rietveld 408576698