diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 00:21:46 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 00:21:46 +0000 |
commit | 59c31fc931c1bd1a2f460d06ff66e18ff6adf869 (patch) | |
tree | a8730e9eb320fd51b9131847c4fab9ef38a5a98f /chrome/browser/chromeos/login | |
parent | d9e797aacdde91e7d895200cafb0400644e7054d (diff) | |
download | chromium_src-59c31fc931c1bd1a2f460d06ff66e18ff6adf869.zip chromium_src-59c31fc931c1bd1a2f460d06ff66e18ff6adf869.tar.gz chromium_src-59c31fc931c1bd1a2f460d06ff66e18ff6adf869.tar.bz2 |
chromeos: Rename allow_guest/AllowGuest to allow_new_user/AllowNewUser.
BUG=chromium-os:7042
TEST=trybots
Review URL: http://codereview.chromium.org/3599003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/login')
-rw-r--r-- | chrome/browser/chromeos/login/existing_user_controller.cc | 2 | ||||
-rw-r--r-- | chrome/browser/chromeos/login/login_performer.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc index e8a609d..2471c68 100644 --- a/chrome/browser/chromeos/login/existing_user_controller.cc +++ b/chrome/browser/chromeos/login/existing_user_controller.cc @@ -119,7 +119,7 @@ ExistingUserController::ExistingUserController( break; // TODO(xiyuan): Clean user profile whose email is not in whitelist. - if (UserCrosSettingsProvider::cached_allow_guest() || + if (UserCrosSettingsProvider::cached_allow_new_user() || IsEmailInCachedWhitelist(users[i].email())) { controllers_.push_back(new UserController(this, users[i])); } diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc index 8743175..8dc3ae6 100644 --- a/chrome/browser/chromeos/login/login_performer.cc +++ b/chrome/browser/chromeos/login/login_performer.cc @@ -90,7 +90,7 @@ void LoginPerformer::Login(const std::string& username, const std::string& password) { username_ = username; password_ = password; - if (UserCrosSettingsProvider::cached_allow_guest()) { + if (UserCrosSettingsProvider::cached_allow_new_user()) { // Starts authentication if guest login is allowed. StartAuthentication(); } else { |