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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 2890853002: Downloads: replace BrowserThread::FILE with task scheduler. (Closed)
Patch Set: Revert ScopedCOMInitializer invocations. Created 3 years, 5 months 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/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 73ad71faf517d679c94d1b9780b007e079a30073..b7b014a5814b1f16b1705cf784b808f1c5a9c5fb 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -916,8 +916,7 @@ class DownloadTest : public InProcessBrowserTest {
}
// Wait till the |DownloadFile|s are destroyed.
- content::RunAllPendingInMessageLoop(content::BrowserThread::FILE);
- content::RunAllPendingInMessageLoop(content::BrowserThread::UI);
+ content::RunAllBlockingPoolTasksUntilIdle();
// Validate that the correct files were downloaded.
download_items.clear();
« no previous file with comments | « no previous file | chrome/browser/download/download_prefs.cc » ('j') | content/browser/download/mhtml_generation_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698