Index: ipc/ipc_channel.h |
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h |
index 1fc9c6c531bbd3d43440be292f169a7b38bc54d6..33f4d193917c374404ce5a277bcdd52b73875130 100644 |
--- a/ipc/ipc_channel.h |
+++ b/ipc/ipc_channel.h |
@@ -13,7 +13,9 @@ |
#include "base/compiler_specific.h" |
#include "base/files/scoped_file.h" |
+#include "base/memory/ref_counted.h" |
#include "base/process/process.h" |
+#include "base/single_thread_task_runner.h" |
#include "build/build_config.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_endpoint.h" |
@@ -120,6 +122,11 @@ class IPC_EXPORT Channel : public Endpoint { |
const std::string& name, |
mojo::ScopedInterfaceEndpointHandle handle) = 0; |
+ // Sets the TaskRunner on which to support proxied dispatch for associated |
+ // interfaces. |
+ virtual void SetProxyTaskRunner( |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner) = 0; |
+ |
// Template helper to add an interface factory to this channel. |
template <typename Interface> |
using AssociatedInterfaceFactory = |