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

Unified Diff: chrome/browser/chromeos/login/ui/login_display.h

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: Combine SetDisplayName and SetGivenName into SetDisplayAndGiveName Created 3 years, 10 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/ui/login_display.h
diff --git a/chrome/browser/chromeos/login/ui/login_display.h b/chrome/browser/chromeos/login/ui/login_display.h
index 310fdcfb19e95b6725f6f6956778c3fe7cf9d50b..ee5aba7860102c677068f7ca6a63e64b895b668f 100644
--- a/chrome/browser/chromeos/login/ui/login_display.h
+++ b/chrome/browser/chromeos/login/ui/login_display.h
@@ -87,6 +87,11 @@ class LoginDisplay {
// Sets the displayed email for the next login attempt with |CompleteLogin|.
// If it succeeds, user's displayed email value will be updated to |email|.
virtual void SetDisplayEmail(const std::string& email) = 0;
+ // Sets the displayed name and given name for the next login attempt with
+ // |CompleteLogin|. If it succeeds, user's displayed name and give name
+ // values will be updated to |display_name| and |given_name|.
+ virtual void SetDisplayAndGivenName(const std::string& display_name,
+ const std::string& given_name) = 0;
// Returns name of the currently connected network, for error message,
virtual base::string16 GetConnectedNetworkName() = 0;
« no previous file with comments | « chrome/browser/chromeos/login/lock/webui_screen_locker.cc ('k') | chrome/browser/chromeos/login/ui/webui_login_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698