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

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

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last upload failed 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) 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Create a new locally managed user. 96 // Create a new locally managed user.
97 virtual void CreateLocallyManagedUser(const string16& display_name, 97 virtual void CreateLocallyManagedUser(const string16& display_name,
98 const std::string password) = 0; 98 const std::string password) = 0;
99 99
100 // Load wallpaper for given |username|. 100 // Load wallpaper for given |username|.
101 virtual void LoadWallpaper(const std::string& username) = 0; 101 virtual void LoadWallpaper(const std::string& username) = 0;
102 102
103 // Loads the default sign-in wallpaper. 103 // Loads the default sign-in wallpaper.
104 virtual void LoadSigninWallpaper() = 0; 104 virtual void LoadSigninWallpaper() = 0;
105 105
106 // Notify the delegate when the sign-in UI is finished loading.
107 virtual void OnSigninScreenReady() = 0;
108
106 // Attempts to remove given user. 109 // Attempts to remove given user.
107 virtual void RemoveUser(const std::string& username) = 0; 110 virtual void RemoveUser(const std::string& username) = 0;
108 111
109 // Ignore password change, remove existing cryptohome and 112 // Ignore password change, remove existing cryptohome and
110 // force full sync of user data. 113 // force full sync of user data.
111 virtual void ResyncUserData() = 0; 114 virtual void ResyncUserData() = 0;
112 115
113 // Shows Enterprise Enrollment screen. 116 // Shows Enterprise Enrollment screen.
114 virtual void ShowEnterpriseEnrollmentScreen() = 0; 117 virtual void ShowEnterpriseEnrollmentScreen() = 0;
115 118
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or 419 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or
417 // NOTIFICATION_AUTH_CANCELLED. 420 // NOTIFICATION_AUTH_CANCELLED.
418 bool has_pending_auth_ui_; 421 bool has_pending_auth_ui_;
419 422
420 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 423 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
421 }; 424 };
422 425
423 } // namespace chromeos 426 } // namespace chromeos
424 427
425 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 428 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698