Index: mojo/edk/system/core.h |
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h |
index 65b6933a8bf6130ab5134bf8de7cf53f0f74745d..9c284602f948010bddb09ffee213701a556d0485 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 SetMachPortProviderIfNeeded(base::PortProvider* port_provider); |
+ |
MojoHandle AddDispatcher(scoped_refptr<Dispatcher> dispatcher); |
// Adds new dispatchers for non-message-pipe handles received in a message. |