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

Unified Diff: chrome/browser/safe_browsing/download_feedback_service_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/download_feedback_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/download_feedback_service_unittest.cc b/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
index a932dbf3122d90d7cb841a35490aa6a29103423e..5bb379f6dde8025174908c1352ace7fed4db02bf 100644
--- a/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
+++ b/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
@@ -132,13 +132,12 @@ bool WillStorePings(DownloadProtectionService::DownloadCheckResult result,
class DownloadFeedbackServiceTest : public testing::Test {
public:
DownloadFeedbackServiceTest()
- : file_task_runner_(content::BrowserThread::GetMessageLoopProxyForThread(
+ : file_task_runner_(content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE)),
- io_task_runner_(content::BrowserThread::GetMessageLoopProxyForThread(
+ io_task_runner_(content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::IO)),
request_context_getter_(
- new net::TestURLRequestContextGetter(io_task_runner_)) {
- }
+ new net::TestURLRequestContextGetter(io_task_runner_)) {}
void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());

Powered by Google App Engine
This is Rietveld 408576698