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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index 895178e249ac10e52cd676f01fbf1aaf1d0464c0..e24a4a54756bb29c95d9ecd22fa2b4b337aa20e0 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -642,7 +642,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
// to wait for the SafeBrowsingService to finish loading/stopping.
void WaitForIOThread() {
scoped_refptr<base::ThreadTestHelper> io_helper(new base::ThreadTestHelper(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get()));
ASSERT_TRUE(io_helper->Run());
}
@@ -651,7 +651,7 @@ class SafeBrowsingServiceTest : public InProcessBrowserTest {
void WaitForIOAndCheckEnabled(SafeBrowsingService* service, bool enabled) {
scoped_refptr<ServiceEnabledHelper> enabled_helper(new ServiceEnabledHelper(
service, enabled,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get()));
ASSERT_TRUE(enabled_helper->Run());
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698