| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // CameraPresenceNotifier::Observer implementation: | 68 // CameraPresenceNotifier::Observer implementation: |
| 69 void OnCameraPresenceCheckDone(bool is_camera_present) override; | 69 void OnCameraPresenceCheckDone(bool is_camera_present) override; |
| 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 PrepareToShow() override; | |
| 79 void Show() override; | 78 void Show() override; |
| 80 void Hide() override; | 79 void Hide() override; |
| 81 std::string GetName() const override; | 80 std::string GetName() const override; |
| 82 | 81 |
| 83 // SupervisedUserCreationScreenHandler::Delegate implementation: | 82 // SupervisedUserCreationScreenHandler::Delegate implementation: |
| 84 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override; | 83 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override; |
| 85 void CreateSupervisedUser( | 84 void CreateSupervisedUser( |
| 86 const base::string16& display_name, | 85 const base::string16& display_name, |
| 87 const std::string& supervised_user_password) override; | 86 const std::string& supervised_user_password) override; |
| 88 void ImportSupervisedUser(const std::string& user_id) override; | 87 void ImportSupervisedUser(const std::string& user_id) override; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 143 |
| 145 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; | 144 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; |
| 146 | 145 |
| 147 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); | 146 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 } // namespace chromeos | 149 } // namespace chromeos |
| 151 | 150 |
| 152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ | 151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR
EEN_H_ |
| 153 | 152 |
| OLD | NEW |