| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCREEN
_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // SupervisedUserSyncServiceObserver implementation | 71 // SupervisedUserSyncServiceObserver implementation |
| 72 void OnSupervisedUserAcknowledged( | 72 void OnSupervisedUserAcknowledged( |
| 73 const std::string& supervised_user_id) override {} | 73 const std::string& supervised_user_id) override {} |
| 74 void OnSupervisedUsersSyncingStopped() override {} | 74 void OnSupervisedUsersSyncingStopped() override {} |
| 75 void OnSupervisedUsersChanged() override; | 75 void OnSupervisedUsersChanged() override; |
| 76 | 76 |
| 77 // BaseScreen implementation: | 77 // BaseScreen implementation: |
| 78 void Show() override; | 78 void Show() override; |
| 79 void Hide() override; | 79 void Hide() override; |
| 80 std::string GetName() const override; | |
| 81 | 80 |
| 82 // SupervisedUserCreationScreenHandler::Delegate implementation: | 81 // SupervisedUserCreationScreenHandler::Delegate implementation: |
| 83 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override; | 82 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override; |
| 84 void CreateSupervisedUser( | 83 void CreateSupervisedUser( |
| 85 const base::string16& display_name, | 84 const base::string16& display_name, |
| 86 const std::string& supervised_user_password) override; | 85 const std::string& supervised_user_password) override; |
| 87 void ImportSupervisedUser(const std::string& user_id) override; | 86 void ImportSupervisedUser(const std::string& user_id) override; |
| 88 void ImportSupervisedUserWithPassword(const std::string& user_id, | 87 void ImportSupervisedUserWithPassword(const std::string& user_id, |
| 89 const std::string& password) override; | 88 const std::string& password) override; |
| 90 void AuthenticateManager(const AccountId& manager_id, | 89 void AuthenticateManager(const AccountId& manager_id, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 142 |
| 144 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; | 143 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; |
| 145 | 144 |
| 146 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); | 145 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); |
| 147 }; | 146 }; |
| 148 | 147 |
| 149 } // namespace chromeos | 148 } // namespace chromeos |
| 150 | 149 |
| 151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ | 150 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ |
| 152 | 151 |
| OLD | NEW |