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

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

Issue 2890853002: Downloads: replace BrowserThread::FILE with task scheduler. (Closed)
Patch Set: Add scoped COM initialization to quench a couple of assertion failures. 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
« no previous file with comments | « no previous file | chrome/browser/download/download_prefs.cc » ('j') | content/browser/download/base_file.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..96f174f93fdf215f950d0fd277af7275cd1634da 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -916,7 +916,7 @@ class DownloadTest : public InProcessBrowserTest {
}
// Wait till the |DownloadFile|s are destroyed.
- content::RunAllPendingInMessageLoop(content::BrowserThread::FILE);
+ content::RunAllBlockingPoolTasksUntilIdle();
content::RunAllPendingInMessageLoop(content::BrowserThread::UI);
gab 2017/07/20 16:54:31 Can remove this line too as RunAllBlockingPoolTask
Sigurður Ásgeirsson 2017/07/20 17:23:21 Done.
// Validate that the correct files were downloaded.
« no previous file with comments | « no previous file | chrome/browser/download/download_prefs.cc » ('j') | content/browser/download/base_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698