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

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

Issue 1497973002: This CL replaces e-mail with AccountId in wallpaper manager code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual void ShowWrongHWIDScreen() = 0; 153 virtual void ShowWrongHWIDScreen() = 0;
154 154
155 // Sets the displayed email for the next login attempt. If it succeeds, 155 // Sets the displayed email for the next login attempt. If it succeeds,
156 // user's displayed email value will be updated to |email|. 156 // user's displayed email value will be updated to |email|.
157 virtual void SetDisplayEmail(const std::string& email) = 0; 157 virtual void SetDisplayEmail(const std::string& email) = 0;
158 158
159 // --------------- Rest of the methods. 159 // --------------- Rest of the methods.
160 // Cancels user adding. 160 // Cancels user adding.
161 virtual void CancelUserAdding() = 0; 161 virtual void CancelUserAdding() = 0;
162 162
163 // Load wallpaper for given |username|. 163 // Load wallpaper for given |account_id|.
164 virtual void LoadWallpaper(const std::string& username) = 0; 164 virtual void LoadWallpaper(const AccountId& account_id) = 0;
165 165
166 // Loads the default sign-in wallpaper. 166 // Loads the default sign-in wallpaper.
167 virtual void LoadSigninWallpaper() = 0; 167 virtual void LoadSigninWallpaper() = 0;
168 168
169 // Attempts to remove given user. 169 // Attempts to remove given user.
170 virtual void RemoveUser(const AccountId& account_id) = 0; 170 virtual void RemoveUser(const AccountId& account_id) = 0;
171 171
172 // Let the delegate know about the handler it is supposed to be using. 172 // Let the delegate know about the handler it is supposed to be using.
173 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; 173 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0;
174 174
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; 489 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_;
490 490
491 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 491 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
492 492
493 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 493 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
494 }; 494 };
495 495
496 } // namespace chromeos 496 } // namespace chromeos
497 497
498 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 498 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698