summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authornkostylev@google.com <nkostylev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 10:43:47 +0000
committernkostylev@google.com <nkostylev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 10:43:47 +0000
commitd64b31ab8aa223c69beae447b9a755321595dae7 (patch)
treed5f5f20e5920edc22fca6480126d1bc9e911ae11 /chrome/browser/chromeos
parent045124c8878160502df7bcc5dae9704d8c5426ff (diff)
downloadchromium_src-d64b31ab8aa223c69beae447b9a755321595dae7.zip
chromium_src-d64b31ab8aa223c69beae447b9a755321595dae7.tar.gz
chromium_src-d64b31ab8aa223c69beae447b9a755321595dae7.tar.bz2
Don't prefill username on "Other user" screen.
Old login screen now is only used as "Other user" screen. Rare case is when you specifically pass --login-screen=[login|oobe|network] and it's not prefilled with the last user. But that's dev test case. BUG= http://crosbug.com/2853 TEST=Select "Other user" screen from the login screen with avatars. Username field should be empty. Review URL: http://codereview.chromium.org/2077001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/login/login_manager_view.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/login/login_manager_view.cc b/chrome/browser/chromeos/login/login_manager_view.cc
index 4d1a864..9394ce3 100644
--- a/chrome/browser/chromeos/login/login_manager_view.cc
+++ b/chrome/browser/chromeos/login/login_manager_view.cc
@@ -28,7 +28,6 @@
#include "chrome/browser/chromeos/login/message_bubble.h"
#include "chrome/browser/chromeos/login/rounded_rect_painter.h"
#include "chrome/browser/chromeos/login/screen_observer.h"
-#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/profile_manager.h"
#include "chrome/common/notification_service.h"
@@ -129,12 +128,6 @@ void LoginManagerView::Init() {
AddAccelerator(accel_focus_pass_);
UpdateLocalizedStrings();
-
- // Restore previously logged in user.
- std::vector<UserManager::User> users = UserManager::Get()->GetUsers();
- if (users.size() > 0) {
- username_field_->SetText(UTF8ToUTF16(users[0].email()));
- }
RequestFocus();
// Controller to handle events from textfields