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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_test.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/safe_browsing/safe_browsing_blocking_page_test.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (revision 148497)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (working copy)
@@ -140,7 +140,7 @@
// sleep(1) in malware_dom_details it triggers :).
waiting_ = true;
LOG(INFO) << "Waiting for dom details.";
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_TRUE(got_dom_);
}
@@ -205,7 +205,7 @@
void WaitForDelete() {
wait_for_delete_ = true;
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
private:
@@ -329,7 +329,7 @@
void AssertReportSent() {
// When a report is scheduled in the IO thread we should get notified.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
FakeSafeBrowsingService* service =
static_cast<FakeSafeBrowsingService*>(

Powered by Google App Engine
This is Rietveld 408576698