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

Unified Diff: ipc/ipc_mojo_perftest.cc

Issue 2159293002: Plumb explicit IPC task runner through to IPC::Channel creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dcheck 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
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_perftest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_mojo_perftest.cc
diff --git a/ipc/ipc_mojo_perftest.cc b/ipc/ipc_mojo_perftest.cc
index c09608c59a90aac40cbb12bd2afa2296c0412144..fc9467e39c30fdd3a7fc6afcff4630176beb134a 100644
--- a/ipc/ipc_mojo_perftest.cc
+++ b/ipc/ipc_mojo_perftest.cc
@@ -28,10 +28,10 @@ class MojoChannelPerfTest : public test::IPCChannelPerfTestBase {
std::unique_ptr<ChannelFactory> CreateChannelFactory(
const ChannelHandle& handle,
- base::SequencedTaskRunner* runner) override {
+ base::SingleThreadTaskRunner* runner) override {
ipc_support_.reset(new mojo::edk::test::ScopedIPCSupport(io_task_runner()));
return ChannelMojo::CreateServerFactory(
- helper_.StartChild("MojoPerfTestClient"));
+ helper_.StartChild("MojoPerfTestClient"), runner);
}
bool StartClient() override {
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_perftest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698