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

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

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: r3b@$3 Created 7 years, 9 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_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/wm/session_state_observer.h" 10 #include "ash/wm/session_state_observer.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 virtual void CompleteLogin(const std::string& username, 69 virtual void CompleteLogin(const std::string& username,
70 const std::string& password) OVERRIDE; 70 const std::string& password) OVERRIDE;
71 virtual string16 GetConnectedNetworkName() OVERRIDE; 71 virtual string16 GetConnectedNetworkName() OVERRIDE;
72 virtual void Login(const std::string& username, 72 virtual void Login(const std::string& username,
73 const std::string& password) OVERRIDE; 73 const std::string& password) OVERRIDE;
74 virtual void LoginAsRetailModeUser() OVERRIDE; 74 virtual void LoginAsRetailModeUser() OVERRIDE;
75 virtual void LoginAsGuest() OVERRIDE; 75 virtual void LoginAsGuest() OVERRIDE;
76 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; 76 virtual void MigrateUserData(const std::string& old_password) OVERRIDE;
77 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; 77 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE;
78 virtual void OnSigninScreenReady() OVERRIDE;
78 virtual void OnUserSelected(const std::string& username) OVERRIDE; 79 virtual void OnUserSelected(const std::string& username) OVERRIDE;
79 virtual void OnStartEnterpriseEnrollment() OVERRIDE; 80 virtual void OnStartEnterpriseEnrollment() OVERRIDE;
80 virtual void OnStartDeviceReset() OVERRIDE; 81 virtual void OnStartDeviceReset() OVERRIDE;
81 virtual void ShowWrongHWIDScreen() OVERRIDE; 82 virtual void ShowWrongHWIDScreen() OVERRIDE;
83 virtual void ResetPublicSessionAutoLoginTimer() OVERRIDE;
82 virtual void ResyncUserData() OVERRIDE; 84 virtual void ResyncUserData() OVERRIDE;
83 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; 85 virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
84 virtual void Signout() OVERRIDE; 86 virtual void Signout() OVERRIDE;
85 87
86 // content::NotificationObserver (via WebUILoginView) implementation. 88 // content::NotificationObserver (via WebUILoginView) implementation.
87 virtual void Observe(int type, 89 virtual void Observe(int type,
88 const content::NotificationSource& source, 90 const content::NotificationSource& source,
89 const content::NotificationDetails& details) OVERRIDE; 91 const content::NotificationDetails& details) OVERRIDE;
90 92
91 // LockWindow::Observer implementation. 93 // LockWindow::Observer implementation.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 base::TimeTicks lock_time_; 132 base::TimeTicks lock_time_;
131 133
132 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 134 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
133 135
134 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 136 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
135 }; 137 };
136 138
137 } // namespace chromeos 139 } // namespace chromeos
138 140
139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 141 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.cc ('k') | chrome/browser/chromeos/login/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698