| Index: content/public/browser/browser_child_process_host.h
|
| diff --git a/content/public/browser/browser_child_process_host.h b/content/public/browser/browser_child_process_host.h
|
| index 07193afd0cd6e8293d8e12dc77863749eba95f4b..74cf035b6bcd7027f5c164571cd3ec4cb25db0fb 100644
|
| --- a/content/public/browser/browser_child_process_host.h
|
| +++ b/content/public/browser/browser_child_process_host.h
|
| @@ -42,6 +42,14 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
|
| content::ProcessType process_type,
|
| BrowserChildProcessHostDelegate* delegate);
|
|
|
| + // Used to create a child process host, with a unique token to identify the
|
| + // child process to Mojo. |mojo_child_token| should be a unique string
|
| + // generated using mojo::edk::GenerateRandomToken().
|
| + static BrowserChildProcessHost* Create(
|
| + content::ProcessType process_type,
|
| + BrowserChildProcessHostDelegate* delegate,
|
| + const std::string& mojo_child_token);
|
| +
|
| // Returns the child process host with unique id |child_process_id|, or
|
| // nullptr if it doesn't exist. |child_process_id| is NOT the process ID, but
|
| // is the same unique ID as |ChildProcessData::id|.
|
|
|