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

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

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/cros/cros_library.h" 10 #include "chrome/browser/chromeos/cros/cros_library.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 } 423 }
424 424
425 string16 WebUIScreenLocker::GetConnectedNetworkName() { 425 string16 WebUIScreenLocker::GetConnectedNetworkName() {
426 return GetCurrentNetworkName(CrosLibrary::Get()->GetNetworkLibrary()); 426 return GetCurrentNetworkName(CrosLibrary::Get()->GetNetworkLibrary());
427 } 427 }
428 428
429 void WebUIScreenLocker::FixCaptivePortal() { 429 void WebUIScreenLocker::FixCaptivePortal() {
430 NOTREACHED(); 430 NOTREACHED();
431 } 431 }
432 432
433 void WebUIScreenLocker::SetDisplayEmail(const std::string& email) {
434 NOTREACHED();
435 }
436
433 void WebUIScreenLocker::CompleteLogin(const std::string& username, 437 void WebUIScreenLocker::CompleteLogin(const std::string& username,
434 const std::string& password) { 438 const std::string& password) {
435 NOTREACHED(); 439 NOTREACHED();
436 } 440 }
437 441
438 void WebUIScreenLocker::Login(const std::string& username, 442 void WebUIScreenLocker::Login(const std::string& username,
439 const std::string& password) { 443 const std::string& password) {
440 DCHECK(username == chromeos::UserManager::Get()->logged_in_user().email()); 444 DCHECK(username == chromeos::UserManager::Get()->logged_in_user().email());
441 445
442 chromeos::ScreenLocker::default_screen_locker()->Authenticate( 446 chromeos::ScreenLocker::default_screen_locker()->Authenticate(
443 ASCIIToUTF16(password)); 447 ASCIIToUTF16(password));
444 } 448 }
445 449
446 void WebUIScreenLocker::LoginAsGuest() { 450 void WebUIScreenLocker::LoginAsGuest() {
447 NOTREACHED(); 451 NOTREACHED();
448 } 452 }
449 453
450 void WebUIScreenLocker::OnUserSelected(const std::string& username) { 454 void WebUIScreenLocker::OnUserSelected(const std::string& username) {
451 } 455 }
452 456
453 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { 457 void WebUIScreenLocker::OnStartEnterpriseEnrollment() {
454 NOTREACHED(); 458 NOTREACHED();
455 } 459 }
456 460
457 } // namespace chromeos 461 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698