| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // WizardScreen implementation: | 61 // WizardScreen implementation: |
| 62 virtual void PrepareToShow() OVERRIDE; | 62 virtual void PrepareToShow() OVERRIDE; |
| 63 virtual void Show() OVERRIDE; | 63 virtual void Show() OVERRIDE; |
| 64 virtual void Hide() OVERRIDE; | 64 virtual void Hide() OVERRIDE; |
| 65 virtual std::string GetName() const OVERRIDE; | 65 virtual std::string GetName() const OVERRIDE; |
| 66 | 66 |
| 67 // LocallyManagedUserCreationScreenHandler::Delegate implementation: | 67 // LocallyManagedUserCreationScreenHandler::Delegate implementation: |
| 68 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) | 68 virtual void OnActorDestroyed(LocallyManagedUserCreationScreenHandler* actor) |
| 69 OVERRIDE; | 69 OVERRIDE; |
| 70 virtual void CreateManagedUser( | 70 virtual void CreateManagedUser( |
| 71 const string16& display_name, | 71 const base::string16& display_name, |
| 72 const std::string& managed_user_password) OVERRIDE; | 72 const std::string& managed_user_password) OVERRIDE; |
| 73 virtual void ImportManagedUser(const std::string& user_id) OVERRIDE; | 73 virtual void ImportManagedUser(const std::string& user_id) OVERRIDE; |
| 74 virtual void ImportManagedUserWithPassword( | 74 virtual void ImportManagedUserWithPassword( |
| 75 const std::string& user_id, | 75 const std::string& user_id, |
| 76 const std::string& password) OVERRIDE; | 76 const std::string& password) OVERRIDE; |
| 77 virtual void AuthenticateManager( | 77 virtual void AuthenticateManager( |
| 78 const std::string& manager_id, | 78 const std::string& manager_id, |
| 79 const std::string& manager_password) OVERRIDE; | 79 const std::string& manager_password) OVERRIDE; |
| 80 virtual void AbortFlow() OVERRIDE; | 80 virtual void AbortFlow() OVERRIDE; |
| 81 virtual void FinishFlow() OVERRIDE; | 81 virtual void FinishFlow() OVERRIDE; |
| 82 virtual bool FindUserByDisplayName(const string16& display_name, | 82 virtual bool FindUserByDisplayName(const base::string16& display_name, |
| 83 std::string *out_id) const OVERRIDE; | 83 std::string *out_id) const OVERRIDE; |
| 84 virtual void OnPageSelected(const std::string& page) OVERRIDE; | 84 virtual void OnPageSelected(const std::string& page) OVERRIDE; |
| 85 | 85 |
| 86 // LocallyManagedUserController::StatusConsumer overrides. | 86 // LocallyManagedUserController::StatusConsumer overrides. |
| 87 virtual void OnCreationError( | 87 virtual void OnCreationError( |
| 88 LocallyManagedUserCreationController::ErrorCode code) OVERRIDE; | 88 LocallyManagedUserCreationController::ErrorCode code) OVERRIDE; |
| 89 virtual void OnCreationTimeout() OVERRIDE; | 89 virtual void OnCreationTimeout() OVERRIDE; |
| 90 virtual void OnCreationSuccess() OVERRIDE; | 90 virtual void OnCreationSuccess() OVERRIDE; |
| 91 virtual void OnLongCreationWarning() OVERRIDE; | 91 virtual void OnLongCreationWarning() OVERRIDE; |
| 92 | 92 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 bool apply_photo_after_decoding_; | 128 bool apply_photo_after_decoding_; |
| 129 int selected_image_; | 129 int selected_image_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); | 131 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationScreen); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace chromeos | 134 } // namespace chromeos |
| 135 | 135 |
| 136 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ | 136 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_S
CREEN_H_ |
| 137 | 137 |
| OLD | NEW |