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

Unified Diff: chrome/browser/chromeos/login/login_performer.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/login_performer.cc
diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc
index 2c24f7b0cd95a1edf4d8c1656ca0857141b16a58..ab0a66e6ecb7cd8439407aa60d54b20b93d5b977 100644
--- a/chrome/browser/chromeos/login/login_performer.cc
+++ b/chrome/browser/chromeos/login/login_performer.cc
@@ -109,7 +109,7 @@ void LoginPerformer::OnLoginFailure(const LoginFailure& failure) {
VLOG(1) << "Online login timed out. "
<< "Granting user access based on offline auth only.";
// ScreenLock is not active, it's ok to delete itself.
- MessageLoop::current()->DeleteSoon(FROM_HERE, this);
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
} else {
// COULD_NOT_MOUNT_CRYPTOHOME, COULD_NOT_MOUNT_TMPFS:
// happens during offline auth only.
@@ -150,7 +150,7 @@ void LoginPerformer::OnLoginSuccess(
// 1. ScreenLock active (pending correct new password input)
// 2. Pending online auth request.
if (!pending_requests)
- MessageLoop::current()->DeleteSoon(FROM_HERE, this);
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
else
initial_online_auth_pending_ = true;
@@ -375,7 +375,7 @@ void LoginPerformer::ResolveInitialNetworkAuthFailure() {
<< "Online login failed with "
<< last_login_failure_.error().state();
// Resolving initial online auth failure, no ScreenLock is active.
- MessageLoop::current()->DeleteSoon(FROM_HERE, this);
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
return;
case GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS:
// Offline auth OK, so it might be the case of changed password.
@@ -473,7 +473,7 @@ void LoginPerformer::ResolveScreenUnlocked() {
DVLOG(1) << "Screen unlocked";
registrar_.RemoveAll();
// If screen was unlocked that was for a reason, should delete itself now.
- MessageLoop::current()->DeleteSoon(FROM_HERE, this);
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
}
void LoginPerformer::StartLoginCompletion() {
« no previous file with comments | « chrome/browser/chromeos/login/login_display_host_impl.cc ('k') | chrome/browser/chromeos/login/login_utils_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698