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

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

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: 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::SetDisplayName(const std::string& display_name) {
193 NOTREACHED();
194 }
195
196 void AppLaunchSigninScreen::SetGivenName(const std::string& given_name) {
197 NOTREACHED();
198 }
199
192 void AppLaunchSigninScreen::Signout() { 200 void AppLaunchSigninScreen::Signout() {
193 NOTREACHED(); 201 NOTREACHED();
194 } 202 }
195 203
196 void AppLaunchSigninScreen::OnAuthFailure(const AuthFailure& error) { 204 void AppLaunchSigninScreen::OnAuthFailure(const AuthFailure& error) {
197 LOG(ERROR) << "Unlock failure: " << error.reason(); 205 LOG(ERROR) << "Unlock failure: " << error.reason();
198 webui_handler_->ClearAndEnablePassword(); 206 webui_handler_->ClearAndEnablePassword();
199 webui_handler_->ShowError( 207 webui_handler_->ShowError(
200 0, l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), 208 0, l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK),
201 std::string(), HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT); 209 std::string(), HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT);
(...skipping 27 matching lines...) Expand all
229 } 237 }
230 238
231 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {} 239 void AppLaunchSigninScreen::CheckUserStatus(const AccountId& account_id) {}
232 240
233 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) { 241 bool AppLaunchSigninScreen::IsUserWhitelisted(const AccountId& account_id) {
234 NOTREACHED(); 242 NOTREACHED();
235 return true; 243 return true;
236 } 244 }
237 245
238 } // namespace chromeos 246 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698