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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 virtual void OnProfileLoaded(Profile* profile) OVERRIDE; | 84 virtual void OnProfileLoaded(Profile* profile) OVERRIDE; |
85 virtual void OnProfileLoadFailed(KioskAppLaunchError::Error error) OVERRIDE; | 85 virtual void OnProfileLoadFailed(KioskAppLaunchError::Error error) OVERRIDE; |
86 | 86 |
87 // AppLaunchSplashScreenActor::Delegate overrides: | 87 // AppLaunchSplashScreenActor::Delegate overrides: |
88 virtual void OnConfigureNetwork() OVERRIDE; | 88 virtual void OnConfigureNetwork() OVERRIDE; |
89 virtual void OnCancelAppLaunch() OVERRIDE; | 89 virtual void OnCancelAppLaunch() OVERRIDE; |
90 virtual void OnNetworkStateChanged(bool online) OVERRIDE; | 90 virtual void OnNetworkStateChanged(bool online) OVERRIDE; |
91 | 91 |
92 // StartupAppLauncher::Delegate overrides: | 92 // StartupAppLauncher::Delegate overrides: |
93 virtual void InitializeNetwork() OVERRIDE; | 93 virtual void InitializeNetwork() OVERRIDE; |
| 94 virtual bool IsNetworkReady() OVERRIDE; |
94 virtual void OnLoadingOAuthFile() OVERRIDE; | 95 virtual void OnLoadingOAuthFile() OVERRIDE; |
95 virtual void OnInitializingTokenService() OVERRIDE; | 96 virtual void OnInitializingTokenService() OVERRIDE; |
96 virtual void OnInstallingApp() OVERRIDE; | 97 virtual void OnInstallingApp() OVERRIDE; |
97 virtual void OnReadyToLaunch() OVERRIDE; | 98 virtual void OnReadyToLaunch() OVERRIDE; |
98 virtual void OnLaunchSucceeded() OVERRIDE; | 99 virtual void OnLaunchSucceeded() OVERRIDE; |
99 virtual void OnLaunchFailed(KioskAppLaunchError::Error error) OVERRIDE; | 100 virtual void OnLaunchFailed(KioskAppLaunchError::Error error) OVERRIDE; |
100 | 101 |
101 // AppLaunchSigninScreen::Delegate overrides: | 102 // AppLaunchSigninScreen::Delegate overrides: |
102 virtual void OnOwnerSigninSuccess() OVERRIDE; | 103 virtual void OnOwnerSigninSuccess() OVERRIDE; |
103 | 104 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 static base::Closure* network_timeout_callback_; | 136 static base::Closure* network_timeout_callback_; |
136 static ReturnBoolCallback* can_configure_network_callback_; | 137 static ReturnBoolCallback* can_configure_network_callback_; |
137 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; | 138 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); | 140 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace chromeos | 143 } // namespace chromeos |
143 | 144 |
144 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ | 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ |
OLD | NEW |