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

Unified Diff: chrome/browser/service/service_process_control_browsertest.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
Index: chrome/browser/service/service_process_control_browsertest.cc
===================================================================
--- chrome/browser/service/service_process_control_browsertest.cc (revision 148497)
+++ chrome/browser/service/service_process_control_browsertest.cc (working copy)
@@ -42,7 +42,7 @@
this));
// Then run the message loop to keep things running.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
// Send a Cloud Print status request and wait for a reply from the service.
@@ -50,7 +50,7 @@
ServiceProcessControl::GetInstance()->GetCloudPrintProxyInfo(
base::Bind(&ServiceProcessControlBrowserTest::CloudPrintInfoCallback,
base::Unretained(this)));
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
void CloudPrintInfoCallback(
@@ -147,7 +147,7 @@
MessageLoop::QuitClosure());
}
// Then run the message loop to keep things running.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_EQ(0, launch_count);
// And then shutdown the service process.
EXPECT_TRUE(process->Shutdown());
@@ -163,7 +163,7 @@
process->Launch(task, task);
}
// Then run the message loop to keep things running.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_EQ(0, launch_count);
// And then shutdown the service process.
EXPECT_TRUE(process->Shutdown());
« no previous file with comments | « chrome/browser/search_engines/template_url_scraper_unittest.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698