Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3307)

Unified Diff: chrome/browser/resources/options/chromeos/accounts_options.js

Issue 659063002: White list of users is updated on show. Supervised users not present on the device are removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos/accounts_options.js
diff --git a/chrome/browser/resources/options/chromeos/accounts_options.js b/chrome/browser/resources/options/chromeos/accounts_options.js
index 3524861032ef4541f1ab26183920ca721f1fe3e7..83668652feac3c79310c37d5c07ecff1eb4a7a0e 100644
--- a/chrome/browser/resources/options/chromeos/accounts_options.js
+++ b/chrome/browser/resources/options/chromeos/accounts_options.js
@@ -81,6 +81,7 @@ cr.define('options', function() {
*/
handleVisibleChange_: function(e) {
if (this.visible) {
+ chrome.send('updateWhitelist');
this.updateControls_();
if (this.showWhitelist_)
$('userList').redraw();
@@ -94,7 +95,7 @@ cr.define('options', function() {
handleUseWhitelistCheckChange_: function(e) {
// Whitelist existing users when guest login is being disabled.
if ($('useWhitelistCheck').checked) {
- chrome.send('whitelistExistingUsers');
+ chrome.send('updateWhitelist');
}
this.updateControls_();
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698