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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_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/safe_browsing/safe_browsing_service_browsertest.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (revision 148497)
+++ chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (working copy)
@@ -522,7 +522,7 @@
BrowserThread::IO, FROM_HERE,
base::Bind(&TestSBClient::CheckDownloadUrlOnIOThread,
this, url_chain));
- ui_test_utils::RunMessageLoop(); // Will stop in OnDownloadUrlCheckResult.
+ content::RunMessageLoop(); // Will stop in OnDownloadUrlCheckResult.
}
void CheckDownloadHash(const std::string& full_hash) {
@@ -530,7 +530,7 @@
BrowserThread::IO, FROM_HERE,
base::Bind(&TestSBClient::CheckDownloadHashOnIOThread,
this, full_hash));
- ui_test_utils::RunMessageLoop(); // Will stop in OnDownloadHashCheckResult.
+ content::RunMessageLoop(); // Will stop in OnDownloadHashCheckResult.
}
private:
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc ('k') | chrome/browser/safe_browsing/safe_browsing_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698