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

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

Issue 1066843002: Run OAuth token handle check upon user pod selction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // ---- User selection screen methods 73 // ---- User selection screen methods
74 74
75 void WebUILoginDisplay::HandleGetUsers() { 75 void WebUILoginDisplay::HandleGetUsers() {
76 SignInScreenController::Get()->SendUserList(); 76 SignInScreenController::Get()->SendUserList();
77 } 77 }
78 78
79 const user_manager::UserList& WebUILoginDisplay::GetUsers() const { 79 const user_manager::UserList& WebUILoginDisplay::GetUsers() const {
80 return SignInScreenController::Get()->GetUsers(); 80 return SignInScreenController::Get()->GetUsers();
81 } 81 }
82 82
83 void WebUILoginDisplay::CheckUserStatus(const std::string& user_id) {
84 SignInScreenController::Get()->CheckUserStatus(user_id);
85 }
86
83 // ---- Gaia screen methods 87 // ---- Gaia screen methods
84 88
85 // ---- Not yet classified methods 89 // ---- Not yet classified methods
86 90
87 void WebUILoginDisplay::OnPreferencesChanged() { 91 void WebUILoginDisplay::OnPreferencesChanged() {
88 if (webui_handler_) 92 if (webui_handler_)
89 webui_handler_->OnPreferencesChanged(); 93 webui_handler_->OnPreferencesChanged();
90 } 94 }
91 95
92 void WebUILoginDisplay::SetUIEnabled(bool is_enabled) { 96 void WebUILoginDisplay::SetUIEnabled(bool is_enabled) {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 delegate_->Signout(); 330 delegate_->Signout();
327 } 331 }
328 332
329 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { 333 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) {
330 if (delegate_) 334 if (delegate_)
331 delegate_->ResetPublicSessionAutoLoginTimer(); 335 delegate_->ResetPublicSessionAutoLoginTimer();
332 } 336 }
333 337
334 338
335 } // namespace chromeos 339 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698