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

Unified Diff: chrome/browser/chromeos/login/signin_screen_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/signin_screen_controller.h
diff --git a/chrome/browser/chromeos/login/signin_screen_controller.h b/chrome/browser/chromeos/login/signin_screen_controller.h
index 893efc66cbdbd3f405b58621d1bd49e3b52be7aa..9301047bddfb3017155bfba886057370e3efdf73 100644
--- a/chrome/browser/chromeos/login/signin_screen_controller.h
+++ b/chrome/browser/chromeos/login/signin_screen_controller.h
@@ -46,15 +46,15 @@ class SignInScreenController : public user_manager::RemoveUserDelegate,
const user_manager::UserList& GetUsers();
// Runs OAauth token validity check.
- void CheckUserStatus(const std::string& user_id);
+ void CheckUserStatus(const user_manager::UserID& user_id);
// Query to remove user with specified id.
// TODO(antrim): move to user selection screen handler.
- void RemoveUser(const std::string& user_id);
+ void RemoveUser(const user_manager::UserID& user_id);
// user_manager::RemoveUserDelegate implementation:
- void OnBeforeUserRemoved(const std::string& username) override;
- void OnUserRemoved(const std::string& username) override;
+ void OnBeforeUserRemoved(const user_manager::UserID& user_id) override;
+ void OnUserRemoved(const user_manager::UserID& user_id) override;
// content::NotificationObserver implementation.
void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698