| Index: ipc/brokerable_attachment.cc
|
| diff --git a/ipc/brokerable_attachment.cc b/ipc/brokerable_attachment.cc
|
| index 70bd0b2cd306da18930c5c4a260530a8d2e6902d..e3287c803510f863b953383efa45d5883efe0dcc 100644
|
| --- a/ipc/brokerable_attachment.cc
|
| +++ b/ipc/brokerable_attachment.cc
|
| @@ -41,30 +41,29 @@ void BrokerableAttachment::AttachmentId::SerializeToBuffer(char* start_address,
|
| start_address[i] = nonce[i];
|
| }
|
|
|
| -BrokerableAttachment::BrokerableAttachment()
|
| - : needs_brokering_(false) {}
|
| +BrokerableAttachment::BrokerableAttachment() {}
|
|
|
| -BrokerableAttachment::BrokerableAttachment(const AttachmentId& id,
|
| - bool needs_brokering)
|
| - : id_(id), needs_brokering_(needs_brokering) {}
|
| +BrokerableAttachment::BrokerableAttachment(const AttachmentId& id) : id_(id) {}
|
|
|
| -BrokerableAttachment::~BrokerableAttachment() {
|
| -}
|
| +BrokerableAttachment::~BrokerableAttachment() {}
|
|
|
| BrokerableAttachment::AttachmentId BrokerableAttachment::GetIdentifier() const {
|
| return id_;
|
| }
|
|
|
| bool BrokerableAttachment::NeedsBrokering() const {
|
| - return needs_brokering_;
|
| -}
|
| -
|
| -void BrokerableAttachment::SetNeedsBrokering(bool needs_brokering) {
|
| - needs_brokering_ = needs_brokering;
|
| + return GetBrokerableType() == PLACEHOLDER;
|
| }
|
|
|
| BrokerableAttachment::Type BrokerableAttachment::GetType() const {
|
| return TYPE_BROKERABLE_ATTACHMENT;
|
| }
|
|
|
| +#if defined(OS_POSIX)
|
| +base::PlatformFile BrokerableAttachment::TakePlatformFile() {
|
| + NOTREACHED();
|
| + return base::PlatformFile();
|
| +}
|
| +#endif // OS_POSIX
|
| +
|
| } // namespace IPC
|
|
|