Index: ipc/ipc_channel_reader.h |
diff --git a/ipc/ipc_channel_reader.h b/ipc/ipc_channel_reader.h |
index 5e827db0cf899f16d29974efe8ad6ba992e231ac..77ef382ce54b5a329a097bde56cd89123c230f1b 100644 |
--- a/ipc/ipc_channel_reader.h |
+++ b/ipc/ipc_channel_reader.h |
@@ -114,6 +114,9 @@ class IPC_EXPORT ChannelReader : public SupportsAttachmentBrokering, |
// Exposed for testing purposes only. |
virtual void DispatchMessage(Message* m); |
+ // Get the process ID for the sender of the message. |
+ virtual base::ProcessId GetSenderPID() = 0; |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(ChannelReaderTest, AttachmentAlreadyBrokered); |
FRIEND_TEST_ALL_PREFIXES(ChannelReaderTest, AttachmentNotYetBrokered); |