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

Unified Diff: chrome/browser/chromeos/login/app_launch_signin_screen.cc

Issue 324463003: ChromeOS login webui refactoring : Simplify login methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with ToT Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/app_launch_signin_screen.cc
diff --git a/chrome/browser/chromeos/login/app_launch_signin_screen.cc b/chrome/browser/chromeos/login/app_launch_signin_screen.cc
index 05bd2a294a492a0671f5b2c744e2c276740d78ce..2bfdd628cdb639aaaca2a016185404d81b1b9a8e 100644
--- a/chrome/browser/chromeos/login/app_launch_signin_screen.cc
+++ b/chrome/browser/chromeos/login/app_launch_signin_screen.cc
@@ -81,7 +81,8 @@ void AppLaunchSigninScreen::CompleteLogin(const UserContext& user_context) {
NOTREACHED();
}
-void AppLaunchSigninScreen::Login(const UserContext& user_context) {
+void AppLaunchSigninScreen::Login(const UserContext& user_context,
+ const SigninSpecifics& specifics) {
// Note: LoginUtils::CreateAuthenticator doesn't necessarily create
// a new Authenticator object, and could reuse an existing one.
authenticator_ = LoginUtils::Get()->CreateAuthenticator(this);
@@ -92,22 +93,10 @@ void AppLaunchSigninScreen::Login(const UserContext& user_context) {
user_context));
}
-void AppLaunchSigninScreen::LoginAsRetailModeUser() {
- NOTREACHED();
-}
-
-void AppLaunchSigninScreen::LoginAsGuest() {
- NOTREACHED();
-}
-
void AppLaunchSigninScreen::MigrateUserData(const std::string& old_password) {
NOTREACHED();
}
-void AppLaunchSigninScreen::LoginAsPublicAccount(const std::string& username) {
- NOTREACHED();
-}
-
void AppLaunchSigninScreen::LoadWallpaper(const std::string& username) {
}
@@ -184,11 +173,6 @@ void AppLaunchSigninScreen::Signout() {
NOTREACHED();
}
-void AppLaunchSigninScreen::LoginAsKioskApp(const std::string& app_id,
- bool diagnostic_mode) {
- NOTREACHED();
-}
-
void AppLaunchSigninScreen::OnLoginFailure(const LoginFailure& error) {
LOG(ERROR) << "Unlock failure: " << error.reason();
webui_handler_->ClearAndEnablePassword();
« no previous file with comments | « chrome/browser/chromeos/login/app_launch_signin_screen.h ('k') | chrome/browser/chromeos/login/auth/user_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698