Index: ipc/ipc_channel_handle.h |
diff --git a/ipc/ipc_channel_handle.h b/ipc/ipc_channel_handle.h |
index 1b6fd8ca2059030d11d07391c3c6ead37e162ede..2e9dc3e57f37f424934ac1a7f832763d1f2a80f1 100644 |
--- a/ipc/ipc_channel_handle.h |
+++ b/ipc/ipc_channel_handle.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "build/build_config.h" |
+#include "mojo/public/cpp/system/message_pipe.h" |
#if defined(OS_POSIX) |
#include "base/file_descriptor_posix.h" |
@@ -47,6 +48,7 @@ struct ChannelHandle { |
ChannelHandle(const std::string& n, const base::FileDescriptor& s) |
: name(n), socket(s) {} |
#endif // defined(OS_POSIX) |
+ ChannelHandle(mojo::MessagePipeHandle h) : mojo_handle(h) {} |
std::string name; |
#if defined(OS_POSIX) |
@@ -60,6 +62,7 @@ struct ChannelHandle { |
}; |
PipeHandle pipe; |
#endif // defined (OS_WIN) |
+ mojo::MessagePipeHandle mojo_handle; |
}; |
} // namespace IPC |