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

Unified Diff: chrome/browser/policy/device_management_service_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/policy/device_management_service_unittest.cc
diff --git a/chrome/browser/policy/device_management_service_unittest.cc b/chrome/browser/policy/device_management_service_unittest.cc
index abb907d42e0e779ea809daf8e1770005cfec0143..b4447bbdbd274ae453425a34b29318ea660a0539 100644
--- a/chrome/browser/policy/device_management_service_unittest.cc
+++ b/chrome/browser/policy/device_management_service_unittest.cc
@@ -56,7 +56,7 @@ class DeviceManagementServiceTestBase : public testing::Test {
virtual void TearDown() {
service_.reset();
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
}
void ResetService() {
@@ -65,7 +65,7 @@ class DeviceManagementServiceTestBase : public testing::Test {
void InitializeService() {
service_->ScheduleInitialization(0);
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
}
DeviceManagementRequestJob* StartRegistrationJob() {
« no previous file with comments | « chrome/browser/policy/cros_user_policy_cache_unittest.cc ('k') | chrome/browser/policy/device_status_collector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698