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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap.h

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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: ipc/mojo/ipc_mojo_bootstrap.h
diff --git a/ipc/mojo/ipc_mojo_bootstrap.h b/ipc/mojo/ipc_mojo_bootstrap.h
index f22cedce766799334183b6f0f2929c29dc84c159..80049a82915592c6c69fca9d0aed717e895a2515 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.h
+++ b/ipc/mojo/ipc_mojo_bootstrap.h
@@ -9,7 +9,12 @@
#include "base/process/process_handle.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_listener.h"
+
+#if defined(USE_CHROME_EDK)
+#include "mojo/edk/embedder/scoped_platform_handle.h"
+#else
#include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
+#endif
namespace IPC {
@@ -30,7 +35,8 @@ class IPC_MOJO_EXPORT MojoBootstrap : public Listener {
class Delegate {
public:
virtual void OnPipeAvailable(
- mojo::embedder::ScopedPlatformHandle handle) = 0;
+ mojo::embedder::ScopedPlatformHandle handle,
+ int32 peer_pid) = 0;
virtual void OnBootstrapError() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698