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

Unified Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.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_controller.h
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
index 8c7dfb7c9ec777696aefd2685c4eb1ba06c69b82..6364fdd6795dc44c2f377b6d5ccafc4234a48a46 100644
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
@@ -17,6 +17,10 @@
class Profile;
+namespace user_manager {
+class UserID;
+}
+
namespace chromeos {
class SupervisedUserCreationController {
@@ -89,7 +93,7 @@ class SupervisedUserCreationController {
virtual Profile* GetManagerProfile() = 0;
virtual void CancelCreation() = 0;
virtual void FinishCreation() = 0;
- virtual std::string GetSupervisedUserId() = 0;
+ virtual const user_manager::UserID& GetSupervisedUserId() const = 0;
protected:
// Pointer to the current instance of the controller to be used by

Powered by Google App Engine
This is Rietveld 408576698