Chromium Code Reviews

Unified Diff: mojo/edk/system/node_channel.h

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « mojo/edk/system/multiprocess_message_pipe_unittest.cc ('k') | mojo/edk/system/node_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/node_channel.h
diff --git a/mojo/edk/system/node_channel.h b/mojo/edk/system/node_channel.h
index bbac6422a0c856c46194d7724bbcdde539bb6dad..b5300647fd8f4f68d6f1facf0e464cbd8b011f2d 100644
--- a/mojo/edk/system/node_channel.h
+++ b/mojo/edk/system/node_channel.h
@@ -16,6 +16,7 @@
#include "base/synchronization/lock.h"
#include "base/task_runner.h"
#include "build/build_config.h"
+#include "mojo/edk/embedder/connection_param.h"
#include "mojo/edk/embedder/embedder.h"
#include "mojo/edk/embedder/platform_handle_vector.h"
#include "mojo/edk/embedder/scoped_platform_handle.h"
@@ -90,7 +91,7 @@ class NodeChannel : public base::RefCountedThreadSafe<NodeChannel>,
static scoped_refptr<NodeChannel> Create(
Delegate* delegate,
- ScopedPlatformHandle platform_handle,
+ ConnectionParam connection_param,
scoped_refptr<base::TaskRunner> io_task_runner,
const ProcessErrorCallback& process_error_callback);
@@ -167,7 +168,7 @@ class NodeChannel : public base::RefCountedThreadSafe<NodeChannel>,
std::queue<std::pair<ports::NodeName, Channel::MessagePtr>>;
NodeChannel(Delegate* delegate,
- ScopedPlatformHandle platform_handle,
+ ConnectionParam connection_param,
scoped_refptr<base::TaskRunner> io_task_runner,
const ProcessErrorCallback& process_error_callback);
~NodeChannel() override;
« no previous file with comments | « mojo/edk/system/multiprocess_message_pipe_unittest.cc ('k') | mojo/edk/system/node_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine