Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Side by Side Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bugfix in original easy unlock code' Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 std::string GetName() const override; 81 std::string GetName() const override;
82 82
83 // SupervisedUserCreationScreenHandler::Delegate implementation: 83 // SupervisedUserCreationScreenHandler::Delegate implementation:
84 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override; 84 void OnActorDestroyed(SupervisedUserCreationScreenHandler* actor) override;
85 void CreateSupervisedUser( 85 void CreateSupervisedUser(
86 const base::string16& display_name, 86 const base::string16& display_name,
87 const std::string& supervised_user_password) override; 87 const std::string& supervised_user_password) override;
88 void ImportSupervisedUser(const std::string& user_id) override; 88 void ImportSupervisedUser(const std::string& user_id) override;
89 void ImportSupervisedUserWithPassword(const std::string& user_id, 89 void ImportSupervisedUserWithPassword(const std::string& user_id,
90 const std::string& password) override; 90 const std::string& password) override;
91 void AuthenticateManager(const std::string& manager_id, 91 void AuthenticateManager(const AccountId& manager_id,
92 const std::string& manager_password) override; 92 const std::string& manager_password) override;
93 void AbortFlow() override; 93 void AbortFlow() override;
94 void FinishFlow() override; 94 void FinishFlow() override;
95 void HideFlow() override; 95 void HideFlow() override;
96 bool FindUserByDisplayName(const base::string16& display_name, 96 bool FindUserByDisplayName(const base::string16& display_name,
97 std::string* out_id) const override; 97 std::string* out_id) const override;
98 void OnPageSelected(const std::string& page) override; 98 void OnPageSelected(const std::string& page) override;
99 99
100 // SupervisedUserController::StatusConsumer overrides. 100 // SupervisedUserController::StatusConsumer overrides.
101 void OnCreationError( 101 void OnCreationError(
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_; 145 base::WeakPtrFactory<SupervisedUserCreationScreen> weak_factory_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen); 147 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationScreen);
148 }; 148 };
149 149
150 } // namespace chromeos 150 } // namespace chromeos
151 151
152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR EEN_H_ 152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_SCR EEN_H_
153 153
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698