| 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 "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/users/user.h" | |
| 11 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 10 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 12 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/web_ui.h" | 12 #include "content/public/browser/web_ui.h" |
| 14 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 15 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 16 | 15 |
| 17 namespace chromeos { | 16 namespace chromeos { |
| 18 | 17 |
| 19 UserManager* AppLaunchSigninScreen::test_user_manager_ = NULL; | 18 UserManager* AppLaunchSigninScreen::test_user_manager_ = NULL; |
| 20 | 19 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), | 196 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), |
| 198 std::string(), | 197 std::string(), |
| 199 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE); | 198 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE); |
| 200 } | 199 } |
| 201 | 200 |
| 202 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) { | 201 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) { |
| 203 delegate_->OnOwnerSigninSuccess(); | 202 delegate_->OnOwnerSigninSuccess(); |
| 204 } | 203 } |
| 205 | 204 |
| 206 } // namespace chromeos | 205 } // namespace chromeos |
| OLD | NEW |