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

Unified Diff: chrome/browser/chromeos/login/mock_login_status_consumer.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/mock_login_status_consumer.cc
diff --git a/chrome/browser/chromeos/login/mock_login_status_consumer.cc b/chrome/browser/chromeos/login/mock_login_status_consumer.cc
index 161bb0516911808e18b378568122fd66152d6504..a826ac6d0409e36998a36889b550067dd8ef7822 100644
--- a/chrome/browser/chromeos/login/mock_login_status_consumer.cc
+++ b/chrome/browser/chromeos/login/mock_login_status_consumer.cc
@@ -17,25 +17,25 @@ MockConsumer::~MockConsumer() {}
// static
void MockConsumer::OnRetailModeSuccessQuit(const UserContext& user_context) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnRetailModeSuccessQuitAndFail(
const UserContext& user_context) {
ADD_FAILURE() << "Retail mode login should have failed!";
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnGuestSuccessQuit() {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnGuestSuccessQuitAndFail() {
ADD_FAILURE() << "Guest login should have failed!";
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
@@ -43,7 +43,7 @@ void MockConsumer::OnSuccessQuit(
const UserContext& user_context,
bool pending_requests,
bool using_oauth) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
@@ -52,29 +52,29 @@ void MockConsumer::OnSuccessQuitAndFail(
bool pending_requests,
bool using_oauth) {
ADD_FAILURE() << "Login should NOT have succeeded!";
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnFailQuit(const LoginFailure& error) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnFailQuitAndFail(const LoginFailure& error) {
ADD_FAILURE() << "Login should not have failed!";
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnMigrateQuit() {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// static
void MockConsumer::OnMigrateQuitAndFail() {
ADD_FAILURE() << "Should not have detected a PW change!";
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/login/merge_session_load_page_unittest.cc ('k') | chrome/browser/chromeos/login/mock_url_fetchers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698