Index: ipc/ipc_channel_win.cc |
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
index 8bdb7ae33b370cd644431547a4df0de22cb3fc88..4321b04beef1c6cf788701ebd52d95d69f9aea0e 100644 |
--- a/ipc/ipc_channel_win.cc |
+++ b/ipc/ipc_channel_win.cc |
@@ -263,6 +263,11 @@ void ChannelWin::HandleInternalMessage(const Message& msg) { |
listener()->OnChannelConnected(claimed_pid); |
FlushPrelimQueue(); |
+ |
+ if (IsAttachmentBrokerEndpoint() && |
+ AttachmentBroker::GetGlobal()->IsPrivilegedBroker()) { |
+ AttachmentBroker::GetGlobal()->ReceivedPeerPid(claimed_pid); |
+ } |
} |
base::ProcessId ChannelWin::GetSenderPID() { |