Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: third_party/mojo/src/mojo/edk/embedder/embedder.h

Issue 1387963004: Create a broker interface for the new Mojo EDK so that the browser can create and duplicate messa... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: presubmit whitespace error Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/src/mojo/edk/embedder/embedder.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/embedder.h b/third_party/mojo/src/mojo/edk/embedder/embedder.h
index ba8948113de15a71c9e8426e6c0ea4bdb06ccb32..2f2dfd2b1103ac5da9b39b9fe34c25e07ca97a60 100644
--- a/third_party/mojo/src/mojo/edk/embedder/embedder.h
+++ b/third_party/mojo/src/mojo/edk/embedder/embedder.h
@@ -19,10 +19,24 @@
#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
namespace mojo {
+namespace edk {
+class TokenSerializer;
+}
+
namespace embedder {
class ProcessDelegate;
+#if defined(OS_WIN)
+// Wrapper functions around the ones in src/mojo/edk for component builds.
+MOJO_SYSTEM_IMPL_EXPORT void PreInitializeParentProcess();
+MOJO_SYSTEM_IMPL_EXPORT void PreInitializeChildProcess();
+MOJO_SYSTEM_IMPL_EXPORT HANDLE ChildProcessLaunched(HANDLE child_process);
+MOJO_SYSTEM_IMPL_EXPORT void ChildProcessLaunched(HANDLE child_process,
+ HANDLE server_pipe);
+MOJO_SYSTEM_IMPL_EXPORT void SetParentPipeHandle(HANDLE pipe);
+#endif
+
// Basic configuration/initialization ------------------------------------------
// |Init()| sets up the basic Mojo system environment, making the |Mojo...()|

Powered by Google App Engine
This is Rietveld 408576698