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

Unified Diff: content/test/render_thread_impl_browser_test_ipc_helper.cc

Issue 987693005: Get rid of ChannelInit::SetSingleProcessIOTaskRunner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing Created 5 years, 9 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: content/test/render_thread_impl_browser_test_ipc_helper.cc
diff --git a/content/test/render_thread_impl_browser_test_ipc_helper.cc b/content/test/render_thread_impl_browser_test_ipc_helper.cc
index 3075f753225d4e343b457dcfeb98b8a0cb1aea42..7f038859433ac473e341486db8036df448b2f4ad 100644
--- a/content/test/render_thread_impl_browser_test_ipc_helper.cc
+++ b/content/test/render_thread_impl_browser_test_ipc_helper.cc
@@ -41,7 +41,6 @@ void RenderThreadImplBrowserIPCTestHelper::SetupIpcThread() {
base::Thread::Options options;
options.message_loop_type = base::MessageLoop::TYPE_IO;
ASSERT_TRUE(ipc_thread_->StartWithOptions(options));
- ChannelInit::SetSingleProcessIOTaskRunner(ipc_thread_->task_runner());
}
void RenderThreadImplBrowserIPCTestHelper::SetupMojo() {
@@ -64,4 +63,9 @@ void RenderThreadImplBrowserIPCTestHelper::SetupMojo() {
mojo_host_->OnClientLaunched(base::GetCurrentProcessHandle());
}
+scoped_refptr<base::SingleThreadTaskRunner>
+RenderThreadImplBrowserIPCTestHelper::GetIOTaskRunner() const {
+ return ipc_thread_->task_runner();
+}
+
} // namespace content
« no previous file with comments | « content/test/render_thread_impl_browser_test_ipc_helper.h ('k') | content/utility/in_process_utility_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698