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

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

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: Combine SetDisplayName and SetGivenName into SetDisplayAndGiveName Created 3 years, 10 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 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 182 }
183 183
184 bool AppLaunchSigninScreen::IsUserSigninCompleted() const { 184 bool AppLaunchSigninScreen::IsUserSigninCompleted() const {
185 return false; 185 return false;
186 } 186 }
187 187
188 void AppLaunchSigninScreen::SetDisplayEmail(const std::string& email) { 188 void AppLaunchSigninScreen::SetDisplayEmail(const std::string& email) {
189 return; 189 return;
190 } 190 }
191 191
192 void AppLaunchSigninScreen::SetDisplayAndGivenName(
193 const std::string& display_name,
194 const std::string& given_name) {
195 NOTREACHED();
196 }
197
192 void AppLaunchSigninScreen::Signout() { 198 void AppLaunchSigninScreen::Signout() {
193 NOTREACHED(); 199 NOTREACHED();
194 } 200 }
195 201
196 void AppLaunchSigninScreen::OnAuthFailure(const AuthFailure& error) { 202 void AppLaunchSigninScreen::OnAuthFailure(const AuthFailure& error) {
197 LOG(ERROR) << "Unlock failure: " << error.reason(); 203 LOG(ERROR) << "Unlock failure: " << error.reason();
198 webui_handler_->ClearAndEnablePassword(); 204 webui_handler_->ClearAndEnablePassword();
199 webui_handler_->ShowError( 205 webui_handler_->ShowError(
200 0, l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), 206 0, l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK),
201 std::string(), HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT); 207 std::string(), HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT);
(...skipping 27 matching lines...) Expand all
229 } 235 }
230 236
231 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {} 237 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {}
232 238
233 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) { 239 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) {
234 NOTREACHED(); 240 NOTREACHED();
235 return true; 241 return true;
236 } 242 }
237 243
238 } // namespace chromeos 244 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/app_launch_signin_screen.h ('k') | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698