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

Side by Side Diff: chrome/browser/chromeos/login/ui/webui_login_display.cc

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 5 years 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698