Index: chrome/browser/resources/ntp/most_visited.js |
diff --git a/chrome/browser/resources/ntp/most_visited.js b/chrome/browser/resources/ntp/most_visited.js |
index 1b2202798001ba74120c864b1ef0623dae2e2c2f..a6a91eab3f595d9c67567b8005a810a7d731fe46 100644 |
--- a/chrome/browser/resources/ntp/most_visited.js |
+++ b/chrome/browser/resources/ntp/most_visited.js |
@@ -103,7 +103,7 @@ var MostVisited = (function() { |
this.data[destinationIndex] = sourceData; |
this.data[sourceIndex] = destinationData; |
- chrome.send('recordAction', ['MostVisitedReordered']); |
+ chrome.send('metricsHandler:recordAction', ['MostVisitedReordered']); |
}, |
updateSettingsLink: function(hasBlacklistedUrls) { |
@@ -540,7 +540,7 @@ var MostVisited = (function() { |
var hoverDuration = (new Date()).getTime() - this.hoverStartTime_; |
if (hoverDuration > 500) |
hoverDuration = 500; |
- chrome.send('recordInHistogram', |
+ chrome.send('metricsHandler:recordInHistogram', |
[clicked ? 'NewTabPage.HoverTimeClicked' |
: 'NewTabPage.HoverTimeNotClicked', |
hoverDuration, |
@@ -692,7 +692,7 @@ var MostVisited = (function() { |
item); |
this.RecordHoverTime_(true); |
if (index != -1) |
- chrome.send('recordInHistogram', |
+ chrome.send('metricsHandler:recordInHistogram', |
['NewTabPage.MostVisited', index, 8]); |
} |
} |