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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" | 15 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" |
16 #include "chrome/browser/chromeos/app_mode/kiosk_profile_loader.h" | 16 #include "chrome/browser/chromeos/app_mode/kiosk_profile_loader.h" |
17 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h" | 17 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h" |
18 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h" | 18 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h" |
19 #include "chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h
" | 19 #include "chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h
" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 | 22 |
23 class Profile; | 23 class Profile; |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
26 | 26 |
27 class LoginDisplayHost; | 27 class LoginDisplayHost; |
28 class OobeUI; | 28 class OobeUI; |
29 class UserManager; | |
30 | 29 |
31 // Controller for the kiosk app launch process, responsible for | 30 // Controller for the kiosk app launch process, responsible for |
32 // coordinating loading the kiosk profile, launching the app, and | 31 // coordinating loading the kiosk profile, launching the app, and |
33 // updating the splash screen UI. | 32 // updating the splash screen UI. |
34 class AppLaunchController | 33 class AppLaunchController |
35 : public AppLaunchSplashScreenActor::Delegate, | 34 : public AppLaunchSplashScreenActor::Delegate, |
36 public KioskProfileLoader::Delegate, | 35 public KioskProfileLoader::Delegate, |
37 public StartupAppLauncher::Delegate, | 36 public StartupAppLauncher::Delegate, |
38 public AppLaunchSigninScreen::Delegate, | 37 public AppLaunchSigninScreen::Delegate, |
39 public content::NotificationObserver { | 38 public content::NotificationObserver { |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 static base::Closure* network_timeout_callback_; | 148 static base::Closure* network_timeout_callback_; |
150 static ReturnBoolCallback* can_configure_network_callback_; | 149 static ReturnBoolCallback* can_configure_network_callback_; |
151 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; | 150 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; |
152 | 151 |
153 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); | 152 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); |
154 }; | 153 }; |
155 | 154 |
156 } // namespace chromeos | 155 } // namespace chromeos |
157 | 156 |
158 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ | 157 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ |
OLD | NEW |