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

Unified Diff: chrome/browser/ui/webui/web_ui_test_handler.cc

Issue 10822030: Move ui_test_utils::RunMessageLoop to test_utils so that it can be reused by content_browsertests. (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
« no previous file with comments | « chrome/browser/ui/webui/web_ui_browsertest.cc ('k') | chrome/test/base/in_process_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_test_handler.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_test_handler.cc (revision 148497)
+++ chrome/browser/ui/webui/web_ui_test_handler.cc (working copy)
@@ -105,13 +105,13 @@
// Either sync test completion or the testDone() will cause message loop
// to quit.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
// Run a second message loop when not |run_test_done_| so that the sync test
// completes, or |run_test_succeeded_| but not |test_done_| so async tests
// complete.
if (!run_test_done_ || (run_test_succeeded_ && !test_done_)) {
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
is_waiting_ = false;
« no previous file with comments | « chrome/browser/ui/webui/web_ui_browsertest.cc ('k') | chrome/test/base/in_process_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698