| Index: mojo/edk/embedder/embedder.cc
|
| diff --git a/mojo/edk/embedder/embedder.cc b/mojo/edk/embedder/embedder.cc
|
| index fa4e6ea62a25d873cf14486eb513354d8510680a..8ea48d6b23ac0fe77366ea11834b6317e67970b0 100644
|
| --- a/mojo/edk/embedder/embedder.cc
|
| +++ b/mojo/edk/embedder/embedder.cc
|
| @@ -49,11 +49,23 @@ void ChildProcessLaunched(base::ProcessHandle child_process,
|
| internal::g_core->AddChild(child_process, std::move(server_pipe));
|
| }
|
|
|
| +void ChildProcessLaunched(base::ProcessHandle child_process,
|
| + ScopedPlatformHandle server_pipe,
|
| + const std::string& secret) {
|
| + CHECK(internal::g_core);
|
| + internal::g_core->AddChild(child_process, std::move(server_pipe), secret);
|
| +}
|
| +
|
| void SetParentPipeHandle(ScopedPlatformHandle pipe) {
|
| CHECK(internal::g_core);
|
| internal::g_core->InitChild(std::move(pipe));
|
| }
|
|
|
| +void SetParentPipeHandle(ScopedPlatformHandle pipe, const std::string& secret) {
|
| + CHECK(internal::g_core);
|
| + internal::g_core->InitChild(std::move(pipe), secret);
|
| +}
|
| +
|
| void Init() {
|
| internal::g_core = new Core();
|
| }
|
|
|