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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_signin_screen.cc

Issue 369893005: Implement new design for expanded public session pod design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ScreenLockerTest. Rebased. Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/app_launch_signin_screen.h" 5 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/login/help_app_launcher.h" 8 #include "chrome/browser/chromeos/login/help_app_launcher.h"
9 #include "chrome/browser/chromeos/login/login_utils.h" 9 #include "chrome/browser/chromeos/login/login_utils.h"
10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" 10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ScreenlockBridge::LockHandler::AuthType initial_auth_type = 195 ScreenlockBridge::LockHandler::AuthType initial_auth_type =
196 UserSelectionScreen::ShouldForceOnlineSignIn(*it) 196 UserSelectionScreen::ShouldForceOnlineSignIn(*it)
197 ? ScreenlockBridge::LockHandler::ONLINE_SIGN_IN 197 ? ScreenlockBridge::LockHandler::ONLINE_SIGN_IN
198 : ScreenlockBridge::LockHandler::OFFLINE_PASSWORD; 198 : ScreenlockBridge::LockHandler::OFFLINE_PASSWORD;
199 base::DictionaryValue* user_dict = new base::DictionaryValue(); 199 base::DictionaryValue* user_dict = new base::DictionaryValue();
200 UserSelectionScreen::FillUserDictionary( 200 UserSelectionScreen::FillUserDictionary(
201 *it, true, false, initial_auth_type, user_dict); 201 *it, true, false, initial_auth_type, user_dict);
202 users_list.Append(user_dict); 202 users_list.Append(user_dict);
203 } 203 }
204 204
205 webui_handler_->LoadUsers(users_list, false, false); 205 webui_handler_->LoadUsers(users_list, false);
206 } 206 }
207 207
208 void AppLaunchSigninScreen::SetAuthType( 208 void AppLaunchSigninScreen::SetAuthType(
209 const std::string& username, 209 const std::string& username,
210 ScreenlockBridge::LockHandler::AuthType auth_type) { 210 ScreenlockBridge::LockHandler::AuthType auth_type) {
211 return; 211 return;
212 } 212 }
213 213
214 ScreenlockBridge::LockHandler::AuthType AppLaunchSigninScreen::GetAuthType( 214 ScreenlockBridge::LockHandler::AuthType AppLaunchSigninScreen::GetAuthType(
215 const std::string& username) const { 215 const std::string& username) const {
216 return ScreenlockBridge::LockHandler::OFFLINE_PASSWORD; 216 return ScreenlockBridge::LockHandler::OFFLINE_PASSWORD;
217 } 217 }
218 218
219 } // namespace chromeos 219 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/login/lock/screen_locker_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698