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

Unified Diff: content/common/child_process_messages.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: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index da73059e8bd67827f2f40460fa9623f1258db318..13acc3bbcbbf9f88e5122fb4b513f20390a5e696 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -15,7 +15,8 @@
#include "content/common/content_export.h"
#include "content/common/host_discardable_shared_memory_manager.h"
#include "gpu/command_buffer/common/sync_token.h"
-#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_platform_file.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/ipc/gfx_param_traits.h"
@@ -132,6 +133,12 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken,
content::IOSurfaceManagerToken /* token */)
#endif
+#if defined(OS_WIN)
+// Sends a pipe used by the child process to broker passing of Mojo handles.
+IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle,
+ IPC::PlatformFileForTransit /* handle */)
+#endif
+
#if defined(USE_OZONE)
// Sent to child processes to initialize ClientNativePixmapFactory using
// a device file descriptor.

Powered by Google App Engine
This is Rietveld 408576698