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

Unified Diff: chrome/browser/chromeos/login/signin_screen_controller.cc

Issue 1470633002: ChromeOS: Fix removeUser button on signin screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@462823--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Fix-GetKnownUserAccountId
Patch Set: Removed debug message. Created 5 years, 1 month 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.cc
diff --git a/chrome/browser/chromeos/login/signin_screen_controller.cc b/chrome/browser/chromeos/login/signin_screen_controller.cc
index eb0985261098aa611a3e20412ad0cf72c9944b85..dc612d7031377d0db501e10060083a6befe64c46 100644
--- a/chrome/browser/chromeos/login/signin_screen_controller.cc
+++ b/chrome/browser/chromeos/login/signin_screen_controller.cc
@@ -58,17 +58,16 @@ void SignInScreenController::OnSigninScreenReady() {
}
}
-void SignInScreenController::RemoveUser(const std::string& user_id) {
- user_manager::UserManager::Get()->RemoveUser(
- AccountId::FromUserEmail(user_id), this);
+void SignInScreenController::RemoveUser(const AccountId& account_id) {
+ user_manager::UserManager::Get()->RemoveUser(account_id, this);
}
-void SignInScreenController::OnBeforeUserRemoved(const std::string& username) {
- user_selection_screen_->OnBeforeUserRemoved(username);
+void SignInScreenController::OnBeforeUserRemoved(const AccountId& account_id) {
+ user_selection_screen_->OnBeforeUserRemoved(account_id);
}
-void SignInScreenController::OnUserRemoved(const std::string& username) {
- user_selection_screen_->OnUserRemoved(username);
+void SignInScreenController::OnUserRemoved(const AccountId& account_id) {
+ user_selection_screen_->OnUserRemoved(account_id);
}
void SignInScreenController::SendUserList() {

Powered by Google App Engine
This is Rietveld 408576698