| 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 2a1573eb3f3b14f8b038effde6896c2768dd7047..870367fc68e14958bfc2a98fba6bfadcb6048e58 100644
|
| --- a/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| +++ b/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| @@ -24,12 +24,12 @@ cr.define('options', function() {
|
| * Initializes the banner's event handlers.
|
| */
|
| initialize: function() {
|
| - this.showMetricName_ = 'AutomaticSettingsReset_WebUIBanner_BannerShown';
|
| + this.showMetricName = 'AutomaticSettingsReset_WebUIBanner_BannerShown';
|
|
|
| - this.dismissNativeCallbackName_ =
|
| + this.dismissNativeCallbackName =
|
| 'onDismissedAutomaticSettingsResetBanner';
|
|
|
| - this.setVisibilibyDomElement_ = $('automatic-settings-reset-banner');
|
| + this.visibilityDomElement = $('automatic-settings-reset-banner');
|
|
|
| $('automatic-settings-reset-banner-close').onclick = function(event) {
|
| chrome.send('metricsHandler:recordAction',
|
| @@ -49,14 +49,14 @@ cr.define('options', function() {
|
| },
|
| };
|
|
|
| - // Forward public APIs to private implementations.
|
| + // Forward public APIs to protected implementations.
|
| [
|
| 'show',
|
| 'dismiss',
|
| ].forEach(function(name) {
|
| AutomaticSettingsResetBanner[name] = function() {
|
| var instance = AutomaticSettingsResetBanner.getInstance();
|
| - return instance[name + '_'].apply(instance, arguments);
|
| + return instance[name].apply(instance, arguments);
|
| };
|
| });
|
|
|
|
|