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

Unified Diff: ipc/mojo/ipc_channel_mojo_unittest.cc

Issue 1354973006: ipc: Remove unnecessary attachment broker plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors. Created 5 years, 3 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/mojo/ipc_channel_mojo.cc ('k') | ipc/mojo/ipc_mojo_bootstrap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo/ipc_channel_mojo_unittest.cc
diff --git a/ipc/mojo/ipc_channel_mojo_unittest.cc b/ipc/mojo/ipc_channel_mojo_unittest.cc
index 02bdcf17975626d4235b83b1f5b98a25d46246db..58d3e9f7e98ece49b3c1f2ba537bf8101de9318f 100644
--- a/ipc/mojo/ipc_channel_mojo_unittest.cc
+++ b/ipc/mojo/ipc_channel_mojo_unittest.cc
@@ -69,9 +69,9 @@ class ListenerThatExpectsOK : public IPC::Listener {
class ChannelClient {
public:
explicit ChannelClient(IPC::Listener* listener, const char* name) {
- channel_ = IPC::ChannelMojo::Create(
- main_message_loop_.task_runner(), IPCTestBase::GetChannelName(name),
- IPC::Channel::MODE_CLIENT, listener, nullptr);
+ channel_ = IPC::ChannelMojo::Create(main_message_loop_.task_runner(),
+ IPCTestBase::GetChannelName(name),
+ IPC::Channel::MODE_CLIENT, listener);
}
void Connect() {
@@ -116,8 +116,7 @@ class IPCChannelMojoTest : public IPCChannelMojoTestBase {
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory(
const IPC::ChannelHandle& handle,
base::SequencedTaskRunner* runner) override {
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle,
- nullptr);
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle);
}
bool DidStartClient() override {
@@ -225,8 +224,7 @@ class IPCChannelMojoErrorTest : public IPCChannelMojoTestBase {
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory(
const IPC::ChannelHandle& handle,
base::SequencedTaskRunner* runner) override {
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle,
- nullptr);
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle);
}
bool DidStartClient() override {
@@ -627,8 +625,7 @@ class IPCChannelMojoDeadHandleTest : public IPCChannelMojoTestBase {
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory(
const IPC::ChannelHandle& handle,
base::SequencedTaskRunner* runner) override {
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle,
- nullptr);
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle);
}
bool DidStartClient() override {
« no previous file with comments | « ipc/mojo/ipc_channel_mojo.cc ('k') | ipc/mojo/ipc_mojo_bootstrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698