Index: content/browser/mojo/mojo_application_host.h |
diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h |
index 0d7916fe9763f85464d3b392a11e7128dda38d37..50fdfdf63fb4709259ff03046bb3cbb8fb9c6dc0 100644 |
--- a/content/browser/mojo/mojo_application_host.h |
+++ b/content/browser/mojo/mojo_application_host.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ |
#include <memory> |
+#include <string> |
#include "base/macros.h" |
#include "base/process/process_handle.h" |
@@ -42,6 +43,10 @@ class CONTENT_EXPORT MojoApplicationHost { |
bool Init(); |
void Activate(IPC::Sender* sender, base::ProcessHandle process_handle); |
+ // Use a shared token to initialize the application. Returns a token to pass |
+ // to the child process. |
+ std::string InitWithToken(); |
+ |
ServiceRegistry* service_registry() { return &service_registry_; } |
#if defined(OS_ANDROID) |