Index: chrome/browser/resources/login/screen_account_picker.js |
diff --git a/chrome/browser/resources/login/screen_account_picker.js b/chrome/browser/resources/login/screen_account_picker.js |
index a0e7fbe1258c73bc607388dfcb42ada7e545c522..2a81c7910d58d3726d4b69378e0c98803c8ed3c7 100644 |
--- a/chrome/browser/resources/login/screen_account_picker.js |
+++ b/chrome/browser/resources/login/screen_account_picker.js |
@@ -32,8 +32,8 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
'forceLockedUserPodFocus', |
'removeUser', |
'showBannerMessage', |
- 'showUserPodButton', |
- 'hideUserPodButton', |
+ 'showUserPodCustomIcon', |
+ 'hideUserPodCustomIcon', |
'setAuthType', |
'showEasyUnlockBubble', |
], |
@@ -274,22 +274,23 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
}, |
/** |
- * Shows a button with an icon on the user pod of |username|. This function |
+ * Shows a custom icon in the user pod of |username|. This function |
* is used by the chrome.screenlockPrivate API. |
* @param {string} username Username of pod to add button |
* @param {string} iconURL URL of the button icon |
*/ |
- showUserPodButton: function(username, iconURL) { |
- $('pod-row').showUserPodButton(username, iconURL); |
+ showUserPodCustomIcon: function(username, iconURL) { |
+ $('pod-row').showUserPodCustomIcon(username, iconURL); |
}, |
/** |
- * Hides button on the user pod of |username| added by showUserPodButton(). |
- * This function is used by the chrome.screenlockPrivate API. |
+ * Hides the custom icon in the user pod of |username| added by |
+ * showUserPodCustomIcon(). This function is used by the |
+ * chrome.screenlockPrivate API. |
* @param {string} username Username of pod to remove button |
*/ |
- hideUserPodButton: function(username) { |
- $('pod-row').hideUserPodButton(username); |
+ hideUserPodCustomIcon: function(username) { |
+ $('pod-row').hideUserPodCustomIcon(username); |
}, |
/** |