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

Unified Diff: chromeos/login/auth/online_attempt_host.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: chromeos/login/auth/online_attempt_host.h
diff --git a/chromeos/login/auth/online_attempt_host.h b/chromeos/login/auth/online_attempt_host.h
index b835e5bf7801d580812edbd05bfe648bc75ec286..cb26b09a2b29a4f6a42b79c6e15fd6ad27c13d20 100644
--- a/chromeos/login/auth/online_attempt_host.h
+++ b/chromeos/login/auth/online_attempt_host.h
@@ -35,7 +35,7 @@ class CHROMEOS_EXPORT OnlineAttemptHost : public AuthAttemptStateResolver {
class Delegate {
public:
// Called after user_context were checked online.
- virtual void OnChecked(const std::string& username, bool success) = 0;
+ virtual void OnChecked(const user_manager::UserID& user_id, bool success) = 0;
};
explicit OnlineAttemptHost(Delegate* delegate);

Powered by Google App Engine
This is Rietveld 408576698