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

Unified Diff: ipc/ipc_message_pipe_reader.h

Issue 2301123004: Mojo Channel: Fix deferred proxy dispatch; support paused channels (Closed)
Patch Set: Created 4 years, 3 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
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_;

Powered by Google App Engine
This is Rietveld 408576698