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

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

Issue 2466433002: Add mojo::edk::ClosePeerConnection. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « mojo/edk/embedder/named_platform_handle_utils_win.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 dc635a05608280482fa4b8e7a9e8961854836968..e32e2d2a8e6715f969dc2053112cfc9999cf5358 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -66,8 +66,9 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
// is no common ancestor for the processes involved within this mojo system.
// Both processes must call this function, each passing one end of a platform
// channel. This returns one end of a message pipe to each process.
- ScopedMessagePipeHandle ConnectToPeerProcess(
- ScopedPlatformHandle pipe_handle);
+ ScopedMessagePipeHandle ConnectToPeerProcess(ScopedPlatformHandle pipe_handle,
+ const std::string& peer_token);
+ void ClosePeerConnection(const std::string& peer_token);
// Called in a child process exactly once during early initialization.
void InitChild(ScopedPlatformHandle platform_handle);
« no previous file with comments | « mojo/edk/embedder/named_platform_handle_utils_win.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698