Index: ipc/ipc_channel_proxy.h |
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h |
index 0bb7260c6b4b23c42179cf8e33f65cb9882e09d6..37b6419f025b6082d83aaa9048d666e5afb98584 100644 |
--- a/ipc/ipc_channel_proxy.h |
+++ b/ipc/ipc_channel_proxy.h |
@@ -225,6 +225,11 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { |
return context_->ipc_task_runner(); |
} |
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner_refptr() |
+ const { |
+ return context_->ipc_task_runner_refptr(); |
+ } |
+ |
// Called to clear the pointer to the IPC task runner when it's going away. |
void ClearIPCTaskRunner(); |
@@ -244,6 +249,11 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { |
base::SingleThreadTaskRunner* ipc_task_runner() const { |
return ipc_task_runner_.get(); |
} |
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner_refptr() |
+ const { |
+ return ipc_task_runner_; |
+ } |
+ |
// Dispatches a message on the listener thread. |
void OnDispatchMessage(const Message& message); |