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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_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/sync/profile_sync_service_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index e926df478bc37a3c49ca7bf356a7d4b1fca604ec..3c24b144fde019e1cda244dbcc8aed058dc92029 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -78,10 +78,10 @@ class ProfileSyncServiceStartupTest : public testing::Test {
// Pump messages posted by the sync core thread (which may end up
// posting on the IO thread).
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
io_thread_.Stop();
file_thread_.Stop();
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
}
protected:
« no previous file with comments | « chrome/browser/sync/profile_sync_service_session_unittest.cc ('k') | chrome/browser/sync/profile_sync_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698