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

Unified Diff: chrome/browser/extensions/test_blacklist_state_fetcher.cc

Issue 1112573002: [chrome/browser/extensions] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving ng browser unittest issues Created 5 years, 8 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/extensions/test_blacklist_state_fetcher.cc
diff --git a/chrome/browser/extensions/test_blacklist_state_fetcher.cc b/chrome/browser/extensions/test_blacklist_state_fetcher.cc
index 986da8f4bf12323c46f3e56742aaecbea5837095..9e7ef4cde3899f7ee48d22c8cf9f4144f62288fd 100644
--- a/chrome/browser/extensions/test_blacklist_state_fetcher.cc
+++ b/chrome/browser/extensions/test_blacklist_state_fetcher.cc
@@ -4,8 +4,8 @@
#include "chrome/browser/extensions/test_blacklist_state_fetcher.h"
-#include "base/message_loop/message_loop.h"
#include "base/stl_util.h"
+#include "base/thread_task_runner_handle.h"
#include "net/url_request/url_request_test_util.h"
namespace extensions {
@@ -36,7 +36,7 @@ TestBlacklistStateFetcher::TestBlacklistStateFetcher(
fetcher_->SetSafeBrowsingConfig(CreateSafeBrowsingProtocolConfig());
scoped_refptr<net::TestURLRequestContextGetter> context =
new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current());
+ base::ThreadTaskRunnerHandle::Get());
fetcher_->SetURLRequestContextForTest(context.get());
}
« no previous file with comments | « chrome/browser/extensions/test_blacklist.cc ('k') | chrome/browser/extensions/updater/extension_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698