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

Unified Diff: chrome/browser/policy/logging_work_scheduler_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/logging_work_scheduler_unittest.cc
diff --git a/chrome/browser/policy/logging_work_scheduler_unittest.cc b/chrome/browser/policy/logging_work_scheduler_unittest.cc
index b2ca3b51e05f1895eb48dcce3b1d4258a555e93a..6e792b64a131ea12622fbc7048b79d4f183e8a1f 100644
--- a/chrome/browser/policy/logging_work_scheduler_unittest.cc
+++ b/chrome/browser/policy/logging_work_scheduler_unittest.cc
@@ -89,7 +89,7 @@ TEST_F(LoggingWorkSchedulerTest, LoggerTest) {
Callback1();
Callback2();
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
std::vector<int64> events;
logger_->Swap(&events);
« no previous file with comments | « chrome/browser/policy/device_token_fetcher_unittest.cc ('k') | chrome/browser/policy/policy_loader_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698