| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_MANAGED_LOCALLY_MANAGED_USER_CREATION_SCRE
EN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_SCRE
EN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_SCRE
EN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_SCRE
EN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // WizardScreen implementation: | 54 // WizardScreen implementation: |
| 55 virtual void PrepareToShow() OVERRIDE; | 55 virtual void PrepareToShow() OVERRIDE; |
| 56 virtual void Show() OVERRIDE; | 56 virtual void Show() OVERRIDE; |
| 57 virtual void Hide() OVERRIDE; | 57 virtual void Hide() OVERRIDE; |
| 58 virtual std::string GetName() const OVERRIDE; | 58 virtual std::string GetName() const OVERRIDE; |
| 59 | 59 |
| 60 // LocallyManagedUserCreationScreenHandler::Delegate implementation: | 60 // LocallyManagedUserCreationScreenHandler::Delegate implementation: |
| 61 virtual void OnExit() OVERRIDE; | 61 virtual void OnExit() OVERRIDE; |
| 62 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) | 62 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) |
| 63 OVERRIDE; | 63 OVERRIDE; |
| 64 virtual void CreateManagedUser(string16& display_name, | 64 virtual void CreateManagedUser( |
| 65 std::string& managed_user_password) OVERRIDE; | 65 const string16& display_name, |
| 66 virtual void AuthenticateManager(std::string& manager_id, | 66 const std::string& managed_user_password) OVERRIDE; |
| 67 std::string& manager_password) OVERRIDE; | 67 virtual void AuthenticateManager( |
| 68 const std::string& manager_id, |
| 69 const std::string& manager_password) OVERRIDE; |
| 68 virtual void AbortFlow() OVERRIDE; | 70 virtual void AbortFlow() OVERRIDE; |
| 69 virtual void FinishFlow() OVERRIDE; | 71 virtual void FinishFlow() OVERRIDE; |
| 70 virtual void SelectPicture() OVERRIDE; | 72 virtual void SelectPicture() OVERRIDE; |
| 71 | 73 |
| 72 // LocallyManagedUserController::StatusConsumer overrides. | 74 // LocallyManagedUserController::StatusConsumer overrides. |
| 73 virtual void OnCreationError(LocallyManagedUserController::ErrorCode code, | 75 virtual void OnCreationError(LocallyManagedUserController::ErrorCode code, |
| 74 bool recoverable) OVERRIDE; | 76 bool recoverable) OVERRIDE; |
| 75 virtual void OnCreationSuccess() OVERRIDE; | 77 virtual void OnCreationSuccess() OVERRIDE; |
| 76 | 78 |
| 77 // ConnectivityStateHelperObserver implementation: | 79 // ConnectivityStateHelperObserver implementation: |
| 78 virtual void OnPortalDetectionCompleted( | 80 virtual void OnPortalDetectionCompleted( |
| 79 const Network* network, | 81 const Network* network, |
| 80 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE; | 82 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE; |
| 81 private: | 83 private: |
| 82 LocallyManagedUserCreationScreenHandler* actor_; | 84 LocallyManagedUserCreationScreenHandler* actor_; |
| 83 | 85 |
| 84 scoped_ptr<LocallyManagedUserController> controller_; | 86 scoped_ptr<LocallyManagedUserController> controller_; |
| 85 | 87 |
| 86 bool on_error_screen_; | 88 bool on_error_screen_; |
| 87 bool on_image_screen_; | 89 bool on_image_screen_; |
| 88 | 90 |
| 89 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); | 91 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 } // namespace chromeos | 94 } // namespace chromeos |
| 93 | 95 |
| 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ | 96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ |
| 95 | 97 |
| OLD | NEW |