Index: chrome/browser/resources/help/help.js |
diff --git a/chrome/browser/resources/help/help.js b/chrome/browser/resources/help/help.js |
index c451b33102d22ac822ed12a32349a4f3ace94647..e230daa8855a8dec861cd34f5b56acacea0badbe 100644 |
--- a/chrome/browser/resources/help/help.js |
+++ b/chrome/browser/resources/help/help.js |
@@ -212,6 +212,15 @@ cr.define('help', function() { |
setReleaseChannel_: function(channel) { |
chrome.send('setReleaseTrack', [channel]); |
}, |
+ |
+ /** |
+ * Sets the value of the "Last Updated" field of the "More Info" section. |
+ * @param {String} lastUpdated The date of the last update. |
+ * @private |
+ */ |
+ setLastUpdated_: function(lastUpdated) { |
+ $('last-updated').textContent = lastUpdated; |
+ }, |
}; |
HelpPage.setUpdateStatus = function(status, message) { |
@@ -250,6 +259,10 @@ cr.define('help', function() { |
HelpPage.getInstance().setReleaseChannel_(channel); |
}; |
+ HelpPage.setLastUpdated = function(lastUpdated) { |
+ HelpPage.getInstance().setLastUpdated_(lastUpdated); |
+ } |
+ |
// Export |
return { |
HelpPage: HelpPage |