diff options
Diffstat (limited to 'mojo/edk/system/core.h')
-rw-r--r-- | mojo/edk/system/core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h index 11aff94..18da0ba 100644 --- a/mojo/edk/system/core.h +++ b/mojo/edk/system/core.h @@ -27,6 +27,10 @@ #include "mojo/public/c/system/types.h" #include "mojo/public/cpp/system/message_pipe.h" +namespace base { +class PortProvider; +} + namespace mojo { namespace edk { @@ -67,6 +71,9 @@ class MOJO_SYSTEM_IMPL_EXPORT Core { // associated with |token|. ScopedMessagePipeHandle CreateChildMessagePipe(const std::string& token); + // Sets the mach port provider for this process. + void SetMachPortProvider(base::PortProvider* port_provider); + MojoHandle AddDispatcher(scoped_refptr<Dispatcher> dispatcher); // Adds new dispatchers for non-message-pipe handles received in a message. |