| Index: chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| diff --git a/chrome/browser/resources/options/automatic_settings_reset_banner.js b/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| index 5755d802034101e70e50c6c4f3e0496722b3fed6..ef83ac7b9851f23bfa6454fd3cf731a0ee06bf3e 100644
|
| --- a/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| +++ b/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| @@ -66,21 +66,24 @@ cr.define('options', function() {
|
| this.dismissNativeCallbackName_ =
|
| 'onDismissedAutomaticSettingsResetBanner';
|
|
|
| - this.visibleElement_ = getRequiredElement(
|
| - 'automatic-settings-reset-banner');
|
| + this.visibleElement_ =
|
| + getRequiredElement('automatic-settings-reset-banner');
|
|
|
| $('automatic-settings-reset-banner-close').onclick = function(event) {
|
| - chrome.send('metricsHandler:recordAction',
|
| + chrome.send(
|
| + 'metricsHandler:recordAction',
|
| ['AutomaticSettingsReset_WebUIBanner_ManuallyClosed']);
|
| AutomaticSettingsResetBanner.dismiss();
|
| };
|
| $('automatic-settings-reset-learn-more').onclick = function(event) {
|
| - chrome.send('metricsHandler:recordAction',
|
| + chrome.send(
|
| + 'metricsHandler:recordAction',
|
| ['AutomaticSettingsReset_WebUIBanner_LearnMoreClicked']);
|
| };
|
| - $('automatic-settings-reset-banner-activate-reset').onclick =
|
| - function(event) {
|
| - chrome.send('metricsHandler:recordAction',
|
| + $('automatic-settings-reset-banner-activate-reset').onclick = function(
|
| + event) {
|
| + chrome.send(
|
| + 'metricsHandler:recordAction',
|
| ['AutomaticSettingsReset_WebUIBanner_ResetClicked']);
|
| PageManager.showPageByName('resetProfileSettings');
|
| };
|
| @@ -126,7 +129,5 @@ cr.define('options', function() {
|
| ]);
|
|
|
| // Export
|
| - return {
|
| - AutomaticSettingsResetBanner: AutomaticSettingsResetBanner
|
| - };
|
| + return {AutomaticSettingsResetBanner: AutomaticSettingsResetBanner};
|
| });
|
|
|