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

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

Issue 10825085: Move RunAllPendingInMessageLoop from ui_test_utils.h to test_utils.h, so that it can be reused by c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
===================================================================
--- chrome/browser/download/download_browsertest.cc (revision 149002)
+++ chrome/browser/download/download_browsertest.cc (working copy)
@@ -681,8 +681,8 @@
}
// Wait till the |DownloadFile|s are destroyed.
- ui_test_utils::RunAllPendingInMessageLoop(content::BrowserThread::FILE);
- ui_test_utils::RunAllPendingInMessageLoop(content::BrowserThread::UI);
+ content::RunAllPendingInMessageLoop(content::BrowserThread::FILE);
+ content::RunAllPendingInMessageLoop(content::BrowserThread::UI);
// Validate that the correct files were downloaded.
download_items.clear();

Powered by Google App Engine
This is Rietveld 408576698