Index: mojo/edk/system/core.h |
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h |
index 11aff941767009a549fe1f70f754195178744be2..18da0ba375c744883f7a6e8a6ed0743517ccff36 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. |