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

Unified Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h b/chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h
index 678a5bba16551495af9c2619a0c954459c1c6553..244378aa28fb70d44e6ee4909828764e6136494b 100644
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h
@@ -13,12 +13,16 @@
class Profile;
+namespace user_manager {
+class UserID;
+}
+
namespace chromeos {
// UserFlow implementation for creating new supervised user.
class SupervisedUserCreationFlow : public ExtendedUserFlow {
public:
- explicit SupervisedUserCreationFlow(const std::string& manager_id);
+ explicit SupervisedUserCreationFlow(const user_manager::UserID& manager_id);
~SupervisedUserCreationFlow() override;
bool CanLockScreen() override;

Powered by Google App Engine
This is Rietveld 408576698