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