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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem_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/cloud_policy_subsystem_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
index ed9ad2b5be65370d713685343666cd4b018489c3..0dfc4753e4f742e4d935e4cb8a15b13ebe344e13 100644
--- a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
@@ -162,7 +162,7 @@ class CloudPolicySubsystemTestBase : public testing::Test {
data_store_->set_user_name(kUsername);
data_store_->SetGaiaToken(kAuthToken);
data_store_->SetDeviceToken("", true);
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
}
void VerifyTest(const std::string& homepage_location) {

Powered by Google App Engine
This is Rietveld 408576698