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

Unified Diff: ipc/ipc_mojo_perftest.cc

Issue 2473993003: Delete IPC::ChannelPosix, IPC::ChannelWin and IPC::AttachmentBroker. (Closed)
Patch Set: Created 4 years, 1 month 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_message_utils.cc ('k') | ipc/ipc_multiprocess_test.h » ('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 87c5ccc4c7a1e63b2755b5ae25ab6418a2e45804..0fcb8ba810b6fa99a57cb2ccc38d58415b8a00b8 100644
--- a/ipc/ipc_mojo_perftest.cc
+++ b/ipc/ipc_mojo_perftest.cc
@@ -23,28 +23,10 @@ namespace {
class MojoChannelPerfTest : public test::IPCChannelPerfTestBase {
public:
void TearDown() override {
- ipc_support_.reset();
test::IPCChannelPerfTestBase::TearDown();
}
- std::unique_ptr<ChannelFactory> CreateChannelFactory(
- const ChannelHandle& handle,
- base::SingleThreadTaskRunner* runner) override {
- ipc_support_.reset(new mojo::edk::test::ScopedIPCSupport(io_task_runner()));
- return ChannelMojo::CreateServerFactory(
- helper_.StartChild("MojoPerfTestClient"), runner);
- }
-
- bool StartClient() override {
- return true;
- }
-
- bool WaitForClientShutdown() override {
- return helper_.WaitForChildTestShutdown();
- }
-
mojo::edk::test::MultiprocessTestHelper helper_;
- std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_;
};
TEST_F(MojoChannelPerfTest, ChannelPingPong) {
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ipc/ipc_multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698