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

Unified Diff: components/user_manager/remove_user_delegate.h

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: Rebased. 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: components/user_manager/remove_user_delegate.h
diff --git a/components/user_manager/remove_user_delegate.h b/components/user_manager/remove_user_delegate.h
index 1077bda527fa6f11b4c82c43e7dd113d9d125bd8..6659f0a81988e6f10c931182888d45e8edec5579 100644
--- a/components/user_manager/remove_user_delegate.h
+++ b/components/user_manager/remove_user_delegate.h
@@ -7,16 +7,18 @@
#include "components/user_manager/user_manager_export.h"
+class AccountId;
+
namespace user_manager {
// Delegate to be used with |UserManager::RemoveUser|.
class USER_MANAGER_EXPORT RemoveUserDelegate {
public:
// Called right before actual user removal process is initiated.
- virtual void OnBeforeUserRemoved(const std::string& username) = 0;
+ virtual void OnBeforeUserRemoved(const AccountId& account_id) = 0;
// Called right after user removal process has been initiated.
- virtual void OnUserRemoved(const std::string& username) = 0;
+ virtual void OnUserRemoved(const AccountId& account_id) = 0;
};
} // namespace user_manager
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698