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

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: split out FakeSessionManagerClient 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } 212 }
213 213
214 void WebUIScreenLocker::LoginAsRetailModeUser() { 214 void WebUIScreenLocker::LoginAsRetailModeUser() {
215 NOTREACHED(); 215 NOTREACHED();
216 } 216 }
217 217
218 void WebUIScreenLocker::LoginAsGuest() { 218 void WebUIScreenLocker::LoginAsGuest() {
219 NOTREACHED(); 219 NOTREACHED();
220 } 220 }
221 221
222 void WebUIScreenLocker::OnSigninScreenReady() {
bartfab (slow) 2013/02/25 16:51:23 The order of these method overrides should match t
dconnelly 2013/02/26 18:04:15 Done.
223 NOTREACHED();
224 }
225
222 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { 226 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) {
223 NOTREACHED(); 227 NOTREACHED();
224 } 228 }
225 229
226 void WebUIScreenLocker::LoginAsPublicAccount(const std::string& username) { 230 void WebUIScreenLocker::LoginAsPublicAccount(const std::string& username) {
227 NOTREACHED(); 231 NOTREACHED();
228 } 232 }
229 233
230 void WebUIScreenLocker::OnUserSelected(const std::string& username) { 234 void WebUIScreenLocker::OnUserSelected(const std::string& username) {
231 } 235 }
(...skipping 61 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