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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host_unittest.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/client_side_detection_host_unittest.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
index 3b1c94e0aa229572bd9e31483cf8272836a574fa..5e00925d1726a936f84abe8a236271f2a1c3bfe7 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
@@ -364,7 +364,7 @@ class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness {
resource.threat_type = SB_THREAT_TYPE_URL_MALWARE;
resource.callback = base::Bind(&EmptyUrlCheckCallback);
resource.callback_thread =
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
resource.render_process_host_id = web_contents()->GetRenderProcessHost()->
GetID();
resource.render_frame_id = web_contents()->GetMainFrame()->GetRoutingID();
@@ -395,7 +395,7 @@ class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness {
resource.threat_type = SB_THREAT_TYPE_URL_MALWARE;
resource.callback = base::Bind(&EmptyUrlCheckCallback);
resource.callback_thread =
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
resource.render_process_host_id = pending_rvh()->GetProcess()->GetID();
resource.render_frame_id = pending_main_rfh()->GetRoutingID();
csd_host_->OnSafeBrowsingHit(resource);

Powered by Google App Engine
This is Rietveld 408576698