| Index: mojo/edk/embedder/embedder.h
|
| diff --git a/mojo/edk/embedder/embedder.h b/mojo/edk/embedder/embedder.h
|
| index 68c198b7067a1aa27eb914d12edc9abb6a34e72b..bd4da3d808bac979a5dda9d0847aecfbfe362bd3 100644
|
| --- a/mojo/edk/embedder/embedder.h
|
| +++ b/mojo/edk/embedder/embedder.h
|
| @@ -44,6 +44,15 @@ MOJO_SYSTEM_IMPL_EXPORT void ChildProcessLaunched(
|
| ScopedPlatformHandle server_pipe,
|
| const std::string& child_token);
|
|
|
| +// Called in the parent process for each child process that is launched.
|
| +// |bad_message_callback| is called if the system is notified of a bad message
|
| +// from this process via the |MojoNotifyBadMessage()| API.
|
| +MOJO_SYSTEM_IMPL_EXPORT void ChildProcessLaunched(
|
| + base::ProcessHandle child_process,
|
| + ScopedPlatformHandle server_pipe,
|
| + const std::string& child_token,
|
| + const base::Closure& bad_message_callback);
|
| +
|
| // Called in the parent process when a child process fails to launch.
|
| // Exactly one of ChildProcessLaunched() or ChildProcessLaunchFailed() must be
|
| // called per child process launch attempt.
|
|
|