blob: a8b08ef5ae5f3b79fc6e07bb3ac999006571441c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
#define IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
#include "base/macros.h"
#include "ipc/brokerable_attachment.h"
#include "ipc/ipc_export.h"
namespace IPC {
// This subclass of BrokerableAttachment has an AttachmentId, and nothing else.
// It is intended to be replaced by the attachment broker.
class IPC_EXPORT PlaceholderBrokerableAttachment : public BrokerableAttachment {
public:
PlaceholderBrokerableAttachment(const AttachmentId& id)
: BrokerableAttachment(id){};
BrokerableType GetBrokerableType() const override;
protected:
~PlaceholderBrokerableAttachment() override{};
DISALLOW_COPY_AND_ASSIGN(PlaceholderBrokerableAttachment);
};
} // namespace IPC
#endif // IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
|