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

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

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // Sign in into guest session. 60 // Sign in into guest session.
61 virtual void LoginAsGuest() = 0; 61 virtual void LoginAsGuest() = 0;
62 62
63 // Decrypt cryptohome using user provided |old_password| 63 // Decrypt cryptohome using user provided |old_password|
64 // and migrate to new password. 64 // and migrate to new password.
65 virtual void MigrateUserData(const std::string& old_password) = 0; 65 virtual void MigrateUserData(const std::string& old_password) = 0;
66 66
67 // Sign in into the public account identified by |username|. 67 // Sign in into the public account identified by |username|.
68 virtual void LoginAsPublicAccount(const std::string& username) = 0; 68 virtual void LoginAsPublicAccount(const std::string& username) = 0;
69 69
70 // Notify the delegate when the sign-in UI is finished loading.
71 virtual void OnSigninScreenReady() = 0;
72
70 // Called when existing user pod is selected in the UI. 73 // Called when existing user pod is selected in the UI.
71 virtual void OnUserSelected(const std::string& username) = 0; 74 virtual void OnUserSelected(const std::string& username) = 0;
72 75
73 // Called when the user requests enterprise enrollment. 76 // Called when the user requests enterprise enrollment.
74 virtual void OnStartEnterpriseEnrollment() = 0; 77 virtual void OnStartEnterpriseEnrollment() = 0;
75 78
76 // Called when the user requests device reset. 79 // Called when the user requests device reset.
77 virtual void OnStartDeviceReset() = 0; 80 virtual void OnStartDeviceReset() = 0;
78 81
79 // Ignore password change, remove existing cryptohome and 82 // Ignore password change, remove existing cryptohome and
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 167
165 // Bounds of the login UI background. 168 // Bounds of the login UI background.
166 gfx::Rect background_bounds_; 169 gfx::Rect background_bounds_;
167 170
168 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 171 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
169 }; 172 };
170 173
171 } // namespace chromeos 174 } // namespace chromeos
172 175
173 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 176 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698