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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Called when the owner permission for kiosk app auto launch is requested. 81 // Called when the owner permission for kiosk app auto launch is requested.
82 virtual void OnStartKioskAutolaunchScreen() = 0; 82 virtual void OnStartKioskAutolaunchScreen() = 0;
83 83
84 // Shows wrong HWID screen. 84 // Shows wrong HWID screen.
85 virtual void ShowWrongHWIDScreen() = 0; 85 virtual void ShowWrongHWIDScreen() = 0;
86 86
87 // Sets the displayed email for the next login attempt with |CompleteLogin|. 87 // Sets the displayed email for the next login attempt with |CompleteLogin|.
88 // If it succeeds, user's displayed email value will be updated to |email|. 88 // If it succeeds, user's displayed email value will be updated to |email|.
89 virtual void SetDisplayEmail(const std::string& email) = 0; 89 virtual void SetDisplayEmail(const std::string& email) = 0;
90 // Sets the displayed name and given name for the next login attempt with
91 // |CompleteLogin|. If it succeeds, user's displayed name and give name
92 // values will be updated to |display_name| and |given_name|.
93 virtual void SetDisplayAndGivenName(const std::string& display_name,
94 const std::string& given_name) = 0;
90 95
91 // Returns name of the currently connected network, for error message, 96 // Returns name of the currently connected network, for error message,
92 virtual base::string16 GetConnectedNetworkName() = 0; 97 virtual base::string16 GetConnectedNetworkName() = 0;
93 98
94 // Restarts the auto-login timer if it is running. 99 // Restarts the auto-login timer if it is running.
95 virtual void ResetAutoLoginTimer() = 0; 100 virtual void ResetAutoLoginTimer() = 0;
96 101
97 // Returns true if user is allowed to log in by domain policy. 102 // Returns true if user is allowed to log in by domain policy.
98 virtual bool IsUserWhitelisted(const AccountId& account_id) = 0; 103 virtual bool IsUserWhitelisted(const AccountId& account_id) = 0;
99 104
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // in redesigned login stack. 183 // in redesigned login stack.
179 // Login stack (and this object) will be recreated for next user sign in. 184 // Login stack (and this object) will be recreated for next user sign in.
180 bool is_signin_completed_; 185 bool is_signin_completed_;
181 186
182 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 187 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
183 }; 188 };
184 189
185 } // namespace chromeos 190 } // namespace chromeos
186 191
187 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 192 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
OLDNEW
« 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