Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index 1b36e91a2f81fb48d24f2b7212e2cdbb4754ded8..96b4def2c1e4128112440f2ea27f8b8c6e1cd041 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -1231,10 +1231,12 @@ cr.define('options', function() { |
/** |
* Activates the Audio History section of the Settings page. |
* @param {boolean} alwaysOn Whether always-on hotwording is available. |
+ * @param {string} stateText Text describing current audio history state. |
Dan Beam
2014/12/11 22:16:53
labelText or sectionLabel (it doesn't matter to th
rpetterson
2014/12/12 19:52:47
Done.
|
* @private |
*/ |
- showAudioHistorySection_: function(alwaysOn) { |
+ showAudioHistorySection_: function(alwaysOn, stateText) { |
$('audio-history').hidden = false; |
+ $('audio-history-label').textContent = stateText; |
$('audio-history-always-on-description').hidden = !alwaysOn; |
}, |