1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ipc/attachment_broker_unprivileged.h"
7 #include "ipc/ipc_channel.h"
8 #include "ipc/ipc_channel_proxy.h"
12 AttachmentBrokerUnprivileged::AttachmentBrokerUnprivileged()
15 AttachmentBrokerUnprivileged::~AttachmentBrokerUnprivileged() {}
17 void AttachmentBrokerUnprivileged::DesignateBrokerCommunicationChannel(
18 IPC::Channel
* channel
) {
22 channel
->set_attachment_broker_endpoint(true);
25 void AttachmentBrokerUnprivileged::DesignateBrokerCommunicationChannel(
26 IPC::ChannelProxy
* proxy
) {
30 proxy
->SetAttachmentBrokerEndpoint(true);