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

Unified Diff: chrome/browser/extensions/settings/settings_apitest.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/extensions/settings/settings_apitest.cc
diff --git a/chrome/browser/extensions/settings/settings_apitest.cc b/chrome/browser/extensions/settings/settings_apitest.cc
index cab59b7bc7d0f43cab31fdcb69e8c636088dffe5..cbcbca81f7399e366559a39bb24dde9b107ea64d 100644
--- a/chrome/browser/extensions/settings/settings_apitest.cc
+++ b/chrome/browser/extensions/settings/settings_apitest.cc
@@ -129,7 +129,7 @@ class ExtensionSettingsApiTest : public ExtensionApiTest {
}
void InitSync(syncer::SyncChangeProcessor* sync_processor) {
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
InitSyncWithSyncableService(
sync_processor,
browser()->profile()->GetExtensionService()->settings_frontend()->
@@ -137,7 +137,7 @@ class ExtensionSettingsApiTest : public ExtensionApiTest {
}
void SendChanges(const syncer::SyncChangeList& change_list) {
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
SendChangesToSyncableService(
change_list,
browser()->profile()->GetExtensionService()->settings_frontend()->

Powered by Google App Engine
This is Rietveld 408576698