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

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

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 #include "chrome/browser/chromeos/login/webui_screen_locker.h" 5 #include "chrome/browser/chromeos/login/webui_screen_locker.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/wm/session_state_controller.h" 8 #include "ash/wm/session_state_controller.h"
9 #include "ash/wm/session_state_observer.h" 9 #include "ash/wm/session_state_observer.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 220 }
221 221
222 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { 222 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) {
223 NOTREACHED(); 223 NOTREACHED();
224 } 224 }
225 225
226 void WebUIScreenLocker::LoginAsPublicAccount(const std::string& username) { 226 void WebUIScreenLocker::LoginAsPublicAccount(const std::string& username) {
227 NOTREACHED(); 227 NOTREACHED();
228 } 228 }
229 229
230 void WebUIScreenLocker::OnSigninScreenReady() {
231 }
232
230 void WebUIScreenLocker::OnUserSelected(const std::string& username) { 233 void WebUIScreenLocker::OnUserSelected(const std::string& username) {
231 } 234 }
232 235
233 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { 236 void WebUIScreenLocker::OnStartEnterpriseEnrollment() {
234 NOTREACHED(); 237 NOTREACHED();
235 } 238 }
236 239
237 void WebUIScreenLocker::OnStartDeviceReset() { 240 void WebUIScreenLocker::OnStartDeviceReset() {
238 NOTREACHED(); 241 NOTREACHED();
239 } 242 }
240 243
241 void WebUIScreenLocker::ShowWrongHWIDScreen() { 244 void WebUIScreenLocker::ShowWrongHWIDScreen() {
242 NOTREACHED(); 245 NOTREACHED();
243 } 246 }
244 247
248 void WebUIScreenLocker::ResetPublicSessionAutoLoginTimer() {
249 }
250
245 void WebUIScreenLocker::ResyncUserData() { 251 void WebUIScreenLocker::ResyncUserData() {
246 NOTREACHED(); 252 NOTREACHED();
247 } 253 }
248 254
249 void WebUIScreenLocker::SetDisplayEmail(const std::string& email) { 255 void WebUIScreenLocker::SetDisplayEmail(const std::string& email) {
250 NOTREACHED(); 256 NOTREACHED();
251 } 257 }
252 258
253 void WebUIScreenLocker::Signout() { 259 void WebUIScreenLocker::Signout() {
254 chromeos::ScreenLocker::default_screen_locker()->Signout(); 260 chromeos::ScreenLocker::default_screen_locker()->Signout();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 299 }
294 300
295 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) { 301 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) {
296 content::BrowserThread::PostTask( 302 content::BrowserThread::PostTask(
297 content::BrowserThread::UI, 303 content::BrowserThread::UI,
298 FROM_HERE, 304 FROM_HERE,
299 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); 305 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr()));
300 } 306 }
301 307
302 } // namespace chromeos 308 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698