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

Unified Diff: mojo/edk/system/core.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/channel_posix.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index db2e8cfdaa66dcf1483d8bb45bc2ac676f8ee219..7e72e5da671bc7326b07b0ba1177a22c60942ebc 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -56,7 +56,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
// Called in the parent process any time a new child is launched.
void AddChild(base::ProcessHandle process_handle,
- ScopedPlatformHandle platform_handle,
+ ConnectionParam connection_param,
const std::string& child_token,
const ProcessErrorCallback& process_error_callback);
@@ -72,7 +72,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
void ClosePeerConnection(const std::string& peer_token);
// Called in a child process exactly once during early initialization.
- void InitChild(ScopedPlatformHandle platform_handle);
+ void InitChild(ConnectionParam connection_param);
// Creates a message pipe endpoint associated with |token|, which a child
// holding the token can later locate and connect to.
« no previous file with comments | « mojo/edk/system/channel_posix.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698