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 #ifndef IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
6 #define IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
8 #include "ipc/brokerable_attachment.h"
9 #include "ipc/ipc_export.h"
13 // This subclass of BrokerableAttachment has an AttachmentId, and nothing else.
14 // It is intended to be replaced by the attachment broker.
15 class IPC_EXPORT PlaceholderBrokerableAttachment
: public BrokerableAttachment
{
17 PlaceholderBrokerableAttachment(const AttachmentId
& id
)
18 : BrokerableAttachment(id
){};
19 BrokerableType
GetBrokerableType() const override
;
22 ~PlaceholderBrokerableAttachment() override
{};
23 DISALLOW_COPY_AND_ASSIGN(PlaceholderBrokerableAttachment
);
28 #endif // IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_