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

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

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/parallel_authenticator_unittest.cc
diff --git a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
index 3f4a6fb608e0aa0dc735ad22378d9fb86312a871..7b8ce3440a2a547d7ac49360d5ca8e5f383530c6 100644
--- a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
+++ b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
@@ -179,7 +179,7 @@ class ParallelAuthenticatorTest : public testing::Test {
void RunResolve(ParallelAuthenticator* auth) {
auth->Resolve();
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
void SetAttemptState(ParallelAuthenticator* auth, TestAttemptState* state) {
@@ -665,7 +665,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetNewPassword) {
std::string(),
std::string());
message_loop_.Run();
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) {
@@ -708,7 +708,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) {
std::string(),
std::string());
message_loop_.Run();
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
TEST_F(ParallelAuthenticatorTest, DriveOnlineLogin) {

Powered by Google App Engine
This is Rietveld 408576698