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

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: bartfab review comments; split out NotificationWatcher 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 #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 NOTREACHED();
232 }
233
230 void WebUIScreenLocker::OnUserSelected(const std::string& username) { 234 void WebUIScreenLocker::OnUserSelected(const std::string& username) {
231 } 235 }
232 236
233 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { 237 void WebUIScreenLocker::OnStartEnterpriseEnrollment() {
234 NOTREACHED(); 238 NOTREACHED();
235 } 239 }
236 240
237 void WebUIScreenLocker::OnStartDeviceReset() { 241 void WebUIScreenLocker::OnStartDeviceReset() {
238 NOTREACHED(); 242 NOTREACHED();
239 } 243 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 297 }
294 298
295 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) { 299 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) {
296 content::BrowserThread::PostTask( 300 content::BrowserThread::PostTask(
297 content::BrowserThread::UI, 301 content::BrowserThread::UI,
298 FROM_HERE, 302 FROM_HERE,
299 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); 303 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr()));
300 } 304 }
301 305
302 } // namespace chromeos 306 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698