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..9962daf3a0f44f1c77735ff93a978aff88f92bdf 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); |
@@ -110,7 +112,6 @@ class IPC_EXPORT MessagePipeReader : public NON_EXPORTED_BASE(mojom::Channel) { |
// Raw message pipe handle and interface ID we use to send legacy IPC messages |
yzshen1
2016/09/02 22:03:36
nit: please update the comment accordingly.
Ken Rockot(use gerrit already)
2016/09/06 17:21:27
Done
|
// over the associated pipe. |
- const uint32_t sender_interface_id_; |
const mojo::MessagePipeHandle sender_pipe_; |
base::ThreadChecker thread_checker_; |