| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" | 5 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 9 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" |
| 10 #include "chrome/browser/chromeos/login/signin_screen_controller.h" | 10 #include "chrome/browser/chromeos/login/signin_screen_controller.h" |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 void WebUILoginDisplay::Signout() { | 320 void WebUILoginDisplay::Signout() { |
| 321 delegate_->Signout(); | 321 delegate_->Signout(); |
| 322 } | 322 } |
| 323 | 323 |
| 324 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { | 324 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { |
| 325 if (delegate_) | 325 if (delegate_) |
| 326 delegate_->ResetPublicSessionAutoLoginTimer(); | 326 delegate_->ResetPublicSessionAutoLoginTimer(); |
| 327 } | 327 } |
| 328 | 328 |
| 329 bool WebUILoginDisplay::IsUserWhitelisted(const std::string& user_id) { | 329 bool WebUILoginDisplay::IsUserWhitelisted(const AccountId& account_id) { |
| 330 DCHECK(delegate_); | 330 DCHECK(delegate_); |
| 331 if (delegate_) | 331 if (delegate_) |
| 332 return delegate_->IsUserWhitelisted(user_id); | 332 return delegate_->IsUserWhitelisted(account_id); |
| 333 return true; | 333 return true; |
| 334 } | 334 } |
| 335 | 335 |
| 336 } // namespace chromeos | 336 } // namespace chromeos |
| OLD | NEW |