Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index 9866456dd4e0d92c43499d2566ea2e3edf68635e..d3037c88ec6f0d15830f20e3a97ee4b046b05d1b 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -452,6 +452,14 @@ void ExistingUserController::Signout() { |
NOTREACHED(); |
} |
+bool ExistingUserController::IsUserWhitelisted(const std::string& user_id) { |
+ bool wildcard_match = false; |
+ if (login_performer_.get()) |
+ return login_performer_->IsUserWhitelisted(user_id, &wildcard_match); |
+ |
+ return chromeos::CrosSettings::IsWhitelisted(user_id, &wildcard_match); |
+} |
+ |
void ExistingUserController::OnConsumerKioskAutoLaunchCheckCompleted( |
KioskAppManager::ConsumerKioskAutoLaunchStatus status) { |
if (status == KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_CONFIGURABLE) |