OLD | NEW |
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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 : proximity_auth::ScreenlockBridge::LockHandler::OFFLINE_PASSWORD; | 223 : proximity_auth::ScreenlockBridge::LockHandler::OFFLINE_PASSWORD; |
224 auto user_dict = base::MakeUnique<base::DictionaryValue>(); | 224 auto user_dict = base::MakeUnique<base::DictionaryValue>(); |
225 UserSelectionScreen::FillUserDictionary( | 225 UserSelectionScreen::FillUserDictionary( |
226 *it, true, /* is_owner */ | 226 *it, true, /* is_owner */ |
227 false, /* is_signin_to_add */ | 227 false, /* is_signin_to_add */ |
228 initial_auth_type, NULL, /* public_session_recommended_locales */ | 228 initial_auth_type, NULL, /* public_session_recommended_locales */ |
229 user_dict.get()); | 229 user_dict.get()); |
230 users_list.Append(std::move(user_dict)); | 230 users_list.Append(std::move(user_dict)); |
231 } | 231 } |
232 | 232 |
233 webui_handler_->LoadUsers(users_list, false); | 233 webui_handler_->LoadUsers(users, users_list); |
234 } | 234 } |
235 | 235 |
236 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {} | 236 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {} |
237 | 237 |
238 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) { | 238 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) { |
239 NOTREACHED(); | 239 NOTREACHED(); |
240 return true; | 240 return true; |
241 } | 241 } |
242 | 242 |
243 } // namespace chromeos | 243 } // namespace chromeos |
OLD | NEW |