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

Unified Diff: ipc/handle_attachment_win.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/handle_attachment_win.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/handle_attachment_win.cc
diff --git a/ipc/handle_attachment_win.cc b/ipc/handle_attachment_win.cc
index cb6a7bacfc2f466a4f000dc25d0d5554be803dca..53d589bc8f182e1ca8f86da3ebf0d04f1eae342b 100644
--- a/ipc/handle_attachment_win.cc
+++ b/ipc/handle_attachment_win.cc
@@ -29,8 +29,7 @@ HandleAttachmentWin::HandleAttachmentWin(const HANDLE& handle,
: handle_(handle), permissions_(HandleWin::INVALID), owns_handle_(true) {}
HandleAttachmentWin::HandleAttachmentWin(const WireFormat& wire_format)
- : BrokerableAttachment(wire_format.attachment_id),
- handle_(LongToHandle(wire_format.handle)),
+ : handle_(LongToHandle(wire_format.handle)),
permissions_(wire_format.permissions),
owns_handle_(true) {}
@@ -46,8 +45,7 @@ HandleAttachmentWin::BrokerableType HandleAttachmentWin::GetBrokerableType()
HandleAttachmentWin::WireFormat HandleAttachmentWin::GetWireFormat(
const base::ProcessId& destination) const {
- return WireFormat(HandleToLong(handle_), destination, permissions_,
- GetIdentifier());
+ return WireFormat(HandleToLong(handle_), destination, permissions_);
}
} // namespace internal
« no previous file with comments | « ipc/handle_attachment_win.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698