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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Shows Reset screen. 154 // Shows Reset screen.
155 virtual void ShowKioskAutolaunchScreen() = 0; 155 virtual void ShowKioskAutolaunchScreen() = 0;
156 156
157 // Show wrong hwid screen. 157 // Show wrong hwid screen.
158 virtual void ShowWrongHWIDScreen() = 0; 158 virtual void ShowWrongHWIDScreen() = 0;
159 159
160 // Sets the displayed email for the next login attempt. If it succeeds, 160 // Sets the displayed email for the next login attempt. If it succeeds,
161 // user's displayed email value will be updated to |email|. 161 // user's displayed email value will be updated to |email|.
162 virtual void SetDisplayEmail(const std::string& email) = 0; 162 virtual void SetDisplayEmail(const std::string& email) = 0;
163 163
164 virtual void SetDisplayName(const std::string& display_name) = 0;
165
166 virtual void SetGivenName(const std::string& given_name) = 0;
167
164 // --------------- Rest of the methods. 168 // --------------- Rest of the methods.
165 // Cancels user adding. 169 // Cancels user adding.
166 virtual void CancelUserAdding() = 0; 170 virtual void CancelUserAdding() = 0;
167 171
168 // Load wallpaper for given |account_id|. 172 // Load wallpaper for given |account_id|.
169 virtual void LoadWallpaper(const AccountId& account_id) = 0; 173 virtual void LoadWallpaper(const AccountId& account_id) = 0;
170 174
171 // Loads the default sign-in wallpaper. 175 // Loads the default sign-in wallpaper.
172 virtual void LoadSigninWallpaper() = 0; 176 virtual void LoadSigninWallpaper() = 0;
173 177
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 std::unique_ptr<LoginFeedback> login_feedback_; 516 std::unique_ptr<LoginFeedback> login_feedback_;
513 517
514 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 518 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
515 519
516 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 520 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
517 }; 521 };
518 522
519 } // namespace chromeos 523 } // namespace chromeos
520 524
521 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 525 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698