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

Unified Diff: ipc/attachment_broker_messages.h

Issue 1262543003: ipc: Create an unforgeable mechanism to get the process id of the sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dchecks. Created 5 years, 5 months 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 | « no previous file | ipc/attachment_broker_privileged_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker_messages.h
diff --git a/ipc/attachment_broker_messages.h b/ipc/attachment_broker_messages.h
index 71b89864b06e83784df6b25000ce38c10fdb1b18..066e19c986a9f99547356315b865b4f1ac239c78 100644
--- a/ipc/attachment_broker_messages.h
+++ b/ipc/attachment_broker_messages.h
@@ -51,10 +51,7 @@ IPC_MESSAGE_CONTROL1(
// Sent from a non-broker to a broker to request the duplication of a HANDLE
// into a different process (possibly the broker process, or even the original
// process).
-// TODO(erikchen): https://code.google.com/p/chromium/issues/detail?id=513431
-// *sender_pid* should be unforgeably generated by the receiving channel.
-IPC_MESSAGE_CONTROL2(
+IPC_MESSAGE_CONTROL1(
AttachmentBrokerMsg_DuplicateWinHandle,
- IPC::internal::HandleAttachmentWin::WireFormat /* wire_format */,
- base::ProcessId /* sender_pid */)
+ IPC::internal::HandleAttachmentWin::WireFormat /* wire_format */)
#endif // defined(OS_WIN)
« no previous file with comments | « no previous file | ipc/attachment_broker_privileged_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698