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

Unified Diff: ipc/ipc_channel_common.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/ipc_channel.h ('k') | ipc/ipc_channel_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_common.cc
diff --git a/ipc/ipc_channel_common.cc b/ipc/ipc_channel_common.cc
index 1a227ad7c5ac052d116e145d6457040792b39ecc..3fddf9a5545ff98a7517ab8c3064de26bbb33688 100644
--- a/ipc/ipc_channel_common.cc
+++ b/ipc/ipc_channel_common.cc
@@ -11,48 +11,39 @@ static Channel::MessageVerifier g_message_verifier = nullptr;
// static
scoped_ptr<Channel> Channel::CreateClient(
const IPC::ChannelHandle& channel_handle,
- Listener* listener,
- AttachmentBroker* broker) {
- return Channel::Create(channel_handle, Channel::MODE_CLIENT, listener,
- broker);
+ Listener* listener) {
+ return Channel::Create(channel_handle, Channel::MODE_CLIENT, listener);
}
// static
scoped_ptr<Channel> Channel::CreateNamedServer(
const IPC::ChannelHandle& channel_handle,
- Listener* listener,
- AttachmentBroker* broker) {
- return Channel::Create(channel_handle, Channel::MODE_NAMED_SERVER, listener,
- broker);
+ Listener* listener) {
+ return Channel::Create(channel_handle, Channel::MODE_NAMED_SERVER, listener);
}
// static
scoped_ptr<Channel> Channel::CreateNamedClient(
const IPC::ChannelHandle& channel_handle,
- Listener* listener,
- AttachmentBroker* broker) {
- return Channel::Create(channel_handle, Channel::MODE_NAMED_CLIENT, listener,
- broker);
+ Listener* listener) {
+ return Channel::Create(channel_handle, Channel::MODE_NAMED_CLIENT, listener);
}
#if defined(OS_POSIX)
// static
scoped_ptr<Channel> Channel::CreateOpenNamedServer(
const IPC::ChannelHandle& channel_handle,
- Listener* listener,
- AttachmentBroker* broker) {
+ Listener* listener) {
return Channel::Create(channel_handle, Channel::MODE_OPEN_NAMED_SERVER,
- listener, broker);
+ listener);
}
#endif
// static
scoped_ptr<Channel> Channel::CreateServer(
const IPC::ChannelHandle& channel_handle,
- Listener* listener,
- AttachmentBroker* broker) {
- return Channel::Create(channel_handle, Channel::MODE_SERVER, listener,
- broker);
+ Listener* listener) {
+ return Channel::Create(channel_handle, Channel::MODE_SERVER, listener);
}
Channel::~Channel() {
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698