| Index: ipc/attachment_broker_unprivileged.cc
|
| diff --git a/ipc/attachment_broker_unprivileged.cc b/ipc/attachment_broker_unprivileged.cc
|
| index 45aeae89e672021f46382b41218071f67ea6534d..44125b3b74f76bd60b333569bc93c4cc57265ed5 100644
|
| --- a/ipc/attachment_broker_unprivileged.cc
|
| +++ b/ipc/attachment_broker_unprivileged.cc
|
| @@ -5,7 +5,7 @@
|
| #include "ipc/attachment_broker_unprivileged.h"
|
|
|
| #include "ipc/ipc_channel.h"
|
| -#include "ipc/ipc_channel_proxy.h"
|
| +#include "ipc/ipc_endpoint.h"
|
|
|
| namespace IPC {
|
|
|
| @@ -15,19 +15,11 @@ AttachmentBrokerUnprivileged::AttachmentBrokerUnprivileged()
|
| AttachmentBrokerUnprivileged::~AttachmentBrokerUnprivileged() {}
|
|
|
| void AttachmentBrokerUnprivileged::DesignateBrokerCommunicationChannel(
|
| - IPC::Channel* channel) {
|
| - DCHECK(channel);
|
| + Endpoint* endpoint) {
|
| + DCHECK(endpoint);
|
| DCHECK(!sender_);
|
| - sender_ = channel;
|
| - channel->set_attachment_broker_endpoint(true);
|
| -}
|
| -
|
| -void AttachmentBrokerUnprivileged::DesignateBrokerCommunicationChannel(
|
| - IPC::ChannelProxy* proxy) {
|
| - DCHECK(proxy);
|
| - DCHECK(!sender_);
|
| - sender_ = proxy;
|
| - proxy->SetAttachmentBrokerEndpoint(true);
|
| + sender_ = endpoint;
|
| + endpoint->SetAttachmentBrokerEndpoint(true);
|
| }
|
|
|
| } // namespace IPC
|
|
|