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

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

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bugfix in original easy unlock code' 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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // If it succeeds, user's displayed email value will be updated to |email|. 84 // If it succeeds, user's displayed email value will be updated to |email|.
85 virtual void SetDisplayEmail(const std::string& email) = 0; 85 virtual void SetDisplayEmail(const std::string& email) = 0;
86 86
87 // Returns name of the currently connected network, for error message, 87 // Returns name of the currently connected network, for error message,
88 virtual base::string16 GetConnectedNetworkName() = 0; 88 virtual base::string16 GetConnectedNetworkName() = 0;
89 89
90 // Restarts the public-session auto-login timer if it is running. 90 // Restarts the public-session auto-login timer if it is running.
91 virtual void ResetPublicSessionAutoLoginTimer() = 0; 91 virtual void ResetPublicSessionAutoLoginTimer() = 0;
92 92
93 // Returns true if user is allowed to log in by domain policy. 93 // Returns true if user is allowed to log in by domain policy.
94 virtual bool IsUserWhitelisted(const std::string& user_id) = 0; 94 virtual bool IsUserWhitelisted(const AccountId& account_id) = 0;
95 95
96 protected: 96 protected:
97 virtual ~Delegate(); 97 virtual ~Delegate();
98 }; 98 };
99 99
100 // |background_bounds| determines the bounds of login UI background. 100 // |background_bounds| determines the bounds of login UI background.
101 LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds); 101 LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds);
102 virtual ~LoginDisplay(); 102 virtual ~LoginDisplay();
103 103
104 // Clears and enables fields on user pod or GAIA frame. 104 // Clears and enables fields on user pod or GAIA frame.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // in redesigned login stack. 171 // in redesigned login stack.
172 // Login stack (and this object) will be recreated for next user sign in. 172 // Login stack (and this object) will be recreated for next user sign in.
173 bool is_signin_completed_; 173 bool is_signin_completed_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 175 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
176 }; 176 };
177 177
178 } // namespace chromeos 178 } // namespace chromeos
179 179
180 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 180 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698