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 b16f6cbe0694c5bedf05740a86af564ba33e771e..e0747c58e15109a6f1399dfb33a5bd888b2741b7 100644 |
--- a/chrome/browser/resources/options/automatic_settings_reset_banner.js |
+++ b/chrome/browser/resources/options/automatic_settings_reset_banner.js |
@@ -23,6 +23,12 @@ cr.define('options', function() { |
/** |
* Initializes the banner's event handlers. |
+ * @suppress {checkTypes} |
+ * TODO(vitalyp): remove the suppression. Suppression is needed because |
+ * method dismiss() is attached to AutomaticSettingsResetBanner at run-time |
+ * via "Forward public APIs to protected implementations" pattern (see |
+ * below). Currently the compiler pass and cr.js handles only forwarding to |
+ * private implementations using cr.makePublic(). |
*/ |
initialize: function() { |
this.showMetricName = 'AutomaticSettingsReset_WebUIBanner_BannerShown'; |