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

Unified Diff: ipc/ipc_channel_proxy.h

Issue 553283002: IPC::ChannelMojo: Introduce IPC::MojoBootstrap for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ipc_channel_proxy.h
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
index 4731e18b78a93182bbc3e8e5fee5ecda041dfdbf..8de405165a5f9df832d0ae6225ba5036eae54fe4 100644
--- a/ipc/ipc_channel_proxy.h
+++ b/ipc/ipc_channel_proxy.h
@@ -119,6 +119,10 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe {
// Returns base::kNullProcessId if the peer is not connected yet.
base::ProcessId GetPeerPID() const { return context_->peer_pid_; }
+ // Tell the client process handle to the server channel.
+ // See Channel::OnClientLaunched for details.
+ void OnClientLaunched(base::ProcessHandle handle);
+
#if defined(OS_POSIX) && !defined(OS_NACL)
// Calls through to the underlying channel's methods.
int GetClientFileDescriptor();
@@ -186,6 +190,7 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe {
void OnSendMessage(scoped_ptr<Message> message_ptr);
void OnAddFilter();
void OnRemoveFilter(MessageFilter* filter);
+ void OnClientLaunched(base::ProcessHandle);
// Methods called on the listener thread.
void AddFilter(MessageFilter* filter);
« no previous file with comments | « ipc/ipc_channel_nacl.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | ipc/ipc_test_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698