| Index: chrome/browser/resources/md_history/browser_service.js
|
| diff --git a/chrome/browser/resources/md_history/browser_service.js b/chrome/browser/resources/md_history/browser_service.js
|
| index 357554de149fa41aa911d21ed0358a0d33148128..6d1e3f187bfd11b98be22f5cd2e76eb3afef179f 100644
|
| --- a/chrome/browser/resources/md_history/browser_service.js
|
| +++ b/chrome/browser/resources/md_history/browser_service.js
|
| @@ -91,10 +91,12 @@ cr.define('md_history', function() {
|
|
|
| /**
|
| * Record an action in UMA.
|
| - * @param {string} actionDesc The name of the action to be logged.
|
| + * @param {string} action The name of the action to be logged.
|
| */
|
| - recordAction: function(actionDesc) {
|
| - chrome.send('metricsHandler:recordAction', [actionDesc]);
|
| + recordAction: function(action) {
|
| + if (action.indexOf('_') == -1)
|
| + action = 'HistoryPage_' + action;
|
| + chrome.send('metricsHandler:recordAction', [action]);
|
| },
|
|
|
| /**
|
|
|