| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_ARC_KIOSK_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ARC_KIOSK_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ARC_KIOSK_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ARC_KIOSK_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h" | 10 #include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 private: | 43 private: |
| 44 void CleanUp(); | 44 void CleanUp(); |
| 45 void CloseSplashScreen(); | 45 void CloseSplashScreen(); |
| 46 | 46 |
| 47 // LoginPerformer::Delegate implementation: | 47 // LoginPerformer::Delegate implementation: |
| 48 void OnAuthFailure(const AuthFailure& error) override; | 48 void OnAuthFailure(const AuthFailure& error) override; |
| 49 void OnAuthSuccess(const UserContext& user_context) override; | 49 void OnAuthSuccess(const UserContext& user_context) override; |
| 50 void WhiteListCheckFailed(const std::string& email) override; | 50 void WhiteListCheckFailed(const std::string& email) override; |
| 51 void PolicyLoadFailed() override; | 51 void PolicyLoadFailed() override; |
| 52 void SetAuthFlowOffline(bool offline) override; | 52 void SetAuthFlowOffline(bool offline) override; |
| 53 void OnOldEncryptionDetected(const UserContext& user_context, |
| 54 bool has_incomplete_migration) override; |
| 53 | 55 |
| 54 // UserSessionManagerDelegate implementation: | 56 // UserSessionManagerDelegate implementation: |
| 55 void OnProfilePrepared(Profile* profile, bool browser_launched) override; | 57 void OnProfilePrepared(Profile* profile, bool browser_launched) override; |
| 56 | 58 |
| 57 // ArcKioskAppService::Delegate implementation: | 59 // ArcKioskAppService::Delegate implementation: |
| 58 void OnAppStarted() override; | 60 void OnAppStarted() override; |
| 59 void OnAppWindowLaunched() override; | 61 void OnAppWindowLaunched() override; |
| 60 | 62 |
| 61 // ArcKioskSplashScreenView::Delegate implementation: | 63 // ArcKioskSplashScreenView::Delegate implementation: |
| 62 void OnCancelArcKioskLaunch() override; | 64 void OnCancelArcKioskLaunch() override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 75 base::OneShotTimer splash_wait_timer_; | 77 base::OneShotTimer splash_wait_timer_; |
| 76 bool launched_ = false; | 78 bool launched_ = false; |
| 77 base::WeakPtrFactory<ArcKioskController> weak_ptr_factory_; | 79 base::WeakPtrFactory<ArcKioskController> weak_ptr_factory_; |
| 78 | 80 |
| 79 DISALLOW_COPY_AND_ASSIGN(ArcKioskController); | 81 DISALLOW_COPY_AND_ASSIGN(ArcKioskController); |
| 80 }; | 82 }; |
| 81 | 83 |
| 82 } // namespace chromeos | 84 } // namespace chromeos |
| 83 | 85 |
| 84 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ARC_KIOSK_CONTROLLER_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ARC_KIOSK_CONTROLLER_H_ |
| OLD | NEW |