| Index: mojo/edk/embedder/embedder.h
|
| diff --git a/mojo/edk/embedder/embedder.h b/mojo/edk/embedder/embedder.h
|
| index b96d84703fca851be8776d54c52c055ab00d8b6f..3eadc36495c3ce847a845b5ef45a5ee7551613fd 100644
|
| --- a/mojo/edk/embedder/embedder.h
|
| +++ b/mojo/edk/embedder/embedder.h
|
| @@ -20,6 +20,10 @@
|
| #include "mojo/edk/system/system_impl_export.h"
|
| #include "mojo/public/cpp/system/message_pipe.h"
|
|
|
| +namespace base {
|
| +class PortProvider;
|
| +}
|
| +
|
| namespace mojo {
|
| namespace edk {
|
|
|
| @@ -138,6 +142,13 @@ MOJO_SYSTEM_IMPL_EXPORT void InitIPCSupport(
|
| // |OnShutdownComplete()| method is invoked.
|
| MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupport();
|
|
|
| +#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| +// Set the |base::PortProvider| for this process. Can be called on any thread,
|
| +// but must be set in the root process before any Mach ports can be transferred.
|
| +MOJO_SYSTEM_IMPL_EXPORT void SetMachPortProvider(
|
| + base::PortProvider* port_provider);
|
| +#endif
|
| +
|
| // Creates a message pipe over an arbitrary platform channel. The other end of
|
| // the channel must also be passed to this function. Either endpoint can be in
|
| // any process.
|
|
|