Index: chrome/browser/resources/chromeos/login/login.js |
diff --git a/chrome/browser/resources/chromeos/login/login.js b/chrome/browser/resources/chromeos/login/login.js |
index 55463cba65523527f993a8a9580812ad1bec9dbb..a8eedc230bf862ea1289b99b0a1aa75b60af7992 100644 |
--- a/chrome/browser/resources/chromeos/login/login.js |
+++ b/chrome/browser/resources/chromeos/login/login.js |
@@ -159,6 +159,15 @@ cr.define('cr.ui', function() { |
DisplayManager.setLabelText(labelId, labelText); |
}; |
+ /** |
+ * Sets the text content of the enterprise info message. |
+ * If the text is empty, the entire notification will be hidden. |
+ * @param {string} messageText The message text. |
+ */ |
+ Oobe.setEnterpriseInfo = function(messageText) { |
+ DisplayManager.setEnterpriseInfo(messageText); |
+ }; |
+ |
// Export |
return { |
Oobe: Oobe |