Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: ipc/mach_port_attachment_mac.cc

Issue 2473993003: Delete IPC::ChannelPosix, IPC::ChannelWin and IPC::AttachmentBroker. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/mach_port_attachment_mac.h ('k') | ipc/placeholder_brokerable_attachment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mach_port_attachment_mac.cc
diff --git a/ipc/mach_port_attachment_mac.cc b/ipc/mach_port_attachment_mac.cc
index 47fd4e98ba46273c6eb037a795773ed6aa1a05b9..215afa967adeb066e70e8b25784214bfa961de40 100644
--- a/ipc/mach_port_attachment_mac.cc
+++ b/ipc/mach_port_attachment_mac.cc
@@ -25,8 +25,7 @@ MachPortAttachmentMac::MachPortAttachmentMac(mach_port_t mach_port,
: mach_port_(mach_port), owns_mach_port_(true) {}
MachPortAttachmentMac::MachPortAttachmentMac(const WireFormat& wire_format)
- : BrokerableAttachment(wire_format.attachment_id),
- mach_port_(static_cast<mach_port_t>(wire_format.mach_port)),
+ : mach_port_(static_cast<mach_port_t>(wire_format.mach_port)),
owns_mach_port_(true) {}
MachPortAttachmentMac::~MachPortAttachmentMac() {
@@ -45,8 +44,7 @@ MachPortAttachmentMac::BrokerableType MachPortAttachmentMac::GetBrokerableType()
MachPortAttachmentMac::WireFormat MachPortAttachmentMac::GetWireFormat(
const base::ProcessId& destination) const {
- return WireFormat(static_cast<uint32_t>(mach_port_), destination,
- GetIdentifier());
+ return WireFormat(static_cast<uint32_t>(mach_port_), destination);
}
} // namespace internal
« no previous file with comments | « ipc/mach_port_attachment_mac.h ('k') | ipc/placeholder_brokerable_attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698