| Index: mojo/embedder/embedder.h
|
| diff --git a/mojo/embedder/embedder.h b/mojo/embedder/embedder.h
|
| index 6b5a1c526595407c3e761efaaa8a0b82d5d71eac..c6638e5e1b33be2f8911a83011f892ecf045f5ab 100644
|
| --- a/mojo/embedder/embedder.h
|
| +++ b/mojo/embedder/embedder.h
|
| @@ -96,6 +96,11 @@ MOJO_SYSTEM_IMPL_EXPORT void DestroyChannelOnIOThread(
|
| // |CreateChannel()|.
|
| MOJO_SYSTEM_IMPL_EXPORT void DestroyChannel(ChannelInfo* channel_info);
|
|
|
| +// Inform the channel that it will soon be destroyed (doing so is optional).
|
| +// This may be called from any thread, but the caller must ensure that this is
|
| +// called before |DestroyChannel()| or |DestroyChannelOnIOThread()|.
|
| +MOJO_SYSTEM_IMPL_EXPORT void WillDestroyChannelSoon(ChannelInfo* channel_info);
|
| +
|
| // Creates a |MojoHandle| that wraps the given |PlatformHandle| (taking
|
| // ownership of it). This |MojoHandle| can then, e.g., be passed through message
|
| // pipes. Note: This takes ownership (and thus closes) |platform_handle| even on
|
|
|