| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // WizardScreen implementation: | 50 // WizardScreen implementation: |
| 51 virtual void PrepareToShow() OVERRIDE; | 51 virtual void PrepareToShow() OVERRIDE; |
| 52 virtual void Show() OVERRIDE; | 52 virtual void Show() OVERRIDE; |
| 53 virtual void Hide() OVERRIDE; | 53 virtual void Hide() OVERRIDE; |
| 54 virtual std::string GetName() const OVERRIDE; | 54 virtual std::string GetName() const OVERRIDE; |
| 55 | 55 |
| 56 // LocallyManagedUserCreationScreenHandler::Delegate implementation: | 56 // LocallyManagedUserCreationScreenHandler::Delegate implementation: |
| 57 virtual void OnExit() OVERRIDE; | 57 virtual void OnExit() OVERRIDE; |
| 58 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) | 58 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) |
| 59 OVERRIDE; | 59 OVERRIDE; |
| 60 virtual void RunFlow(string16& display_name, | 60 virtual void RunFlow(const string16& display_name, |
| 61 std::string& managed_user_password, | 61 const std::string& managed_user_password, |
| 62 std::string& manager_id, | 62 const std::string& manager_id, |
| 63 std::string& manager_password) OVERRIDE; | 63 const std::string& manager_password) OVERRIDE; |
| 64 virtual void AbortFlow() OVERRIDE; | 64 virtual void AbortFlow() OVERRIDE; |
| 65 virtual void RetryLastStep() OVERRIDE; | 65 virtual void RetryLastStep() OVERRIDE; |
| 66 virtual void FinishFlow() OVERRIDE; | 66 virtual void FinishFlow() OVERRIDE; |
| 67 virtual void SelectPicture() OVERRIDE; | 67 virtual void SelectPicture() OVERRIDE; |
| 68 | 68 |
| 69 // LocallyManagedUserController::StatusConsumer overrides. | 69 // LocallyManagedUserController::StatusConsumer overrides. |
| 70 virtual void OnCreationError(LocallyManagedUserController::ErrorCode code, | 70 virtual void OnCreationError(LocallyManagedUserController::ErrorCode code, |
| 71 bool recoverable) OVERRIDE; | 71 bool recoverable) OVERRIDE; |
| 72 virtual void OnCreationSuccess() OVERRIDE; | 72 virtual void OnCreationSuccess() OVERRIDE; |
| 73 | 73 |
| 74 // ConnectivityStateHelperObserver implementation: | 74 // ConnectivityStateHelperObserver implementation: |
| 75 virtual void OnPortalDetectionCompleted( | 75 virtual void OnPortalDetectionCompleted( |
| 76 const Network* network, | 76 const Network* network, |
| 77 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE; | 77 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE; |
| 78 private: | 78 private: |
| 79 LocallyManagedUserCreationScreenHandler* actor_; | 79 LocallyManagedUserCreationScreenHandler* actor_; |
| 80 | 80 |
| 81 scoped_ptr<LocallyManagedUserController> controller_; | 81 scoped_ptr<LocallyManagedUserController> controller_; |
| 82 | 82 |
| 83 bool on_error_screen_; | 83 bool on_error_screen_; |
| 84 bool on_image_screen_; | 84 bool on_image_screen_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); | 86 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace chromeos | 89 } // namespace chromeos |
| 90 | 90 |
| 91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ | 91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ |
| 92 | 92 |
| OLD | NEW |