OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ |
| 6 #define IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ |
| 7 |
| 8 #include "ipc/brokerable_attachment.h" |
| 9 #include "ipc/ipc_export.h" |
| 10 |
| 11 namespace IPC { |
| 12 |
| 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 { |
| 16 public: |
| 17 PlaceholderBrokerableAttachment(const AttachmentId& id) |
| 18 : BrokerableAttachment(id){}; |
| 19 BrokerableType GetBrokerableType() const override; |
| 20 |
| 21 protected: |
| 22 ~PlaceholderBrokerableAttachment() override{}; |
| 23 DISALLOW_COPY_AND_ASSIGN(PlaceholderBrokerableAttachment); |
| 24 }; |
| 25 |
| 26 } // namespace IPC |
| 27 |
| 28 #endif // IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ |
OLD | NEW |