Index: ipc/ipc_message_pipe_reader.h |
diff --git a/ipc/ipc_message_pipe_reader.h b/ipc/ipc_message_pipe_reader.h |
index c00cab4bfee6b58383cd4446bccfcbf92ae63841..cd88149801465a10a1be4981905d3a91d10e2009 100644 |
--- a/ipc/ipc_message_pipe_reader.h |
+++ b/ipc/ipc_message_pipe_reader.h |
@@ -88,6 +88,8 @@ class IPC_EXPORT MessagePipeReader : public NON_EXPORTED_BASE(mojom::Channel) { |
base::ProcessId GetPeerPid() const { return peer_pid_; } |
+ mojom::Channel* sender() const { return sender_.get(); } |
+ |
protected: |
void OnPipeClosed(); |
void OnPipeError(MojoResult error); |
@@ -107,12 +109,6 @@ class IPC_EXPORT MessagePipeReader : public NON_EXPORTED_BASE(mojom::Channel) { |
base::ProcessId peer_pid_ = base::kNullProcessId; |
mojom::ChannelAssociatedPtr sender_; |
mojo::AssociatedBinding<mojom::Channel> binding_; |
- |
- // Raw message pipe handle and interface ID we use to send legacy IPC messages |
- // over the associated pipe. |
- const uint32_t sender_interface_id_; |
- const mojo::MessagePipeHandle sender_pipe_; |
- |
base::ThreadChecker thread_checker_; |
DISALLOW_COPY_AND_ASSIGN(MessagePipeReader); |