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

Unified Diff: ipc/ipc_channel_proxy.cc

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.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index f74dc83a4133b926c4aa67ddd04d1442dd2db6da..b4fefa206f7f38f7ccd165c4100111096c06e0d1 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -234,6 +234,10 @@ void ChannelProxy::Context::OnRemoveFilter(MessageFilter* filter) {
NOTREACHED() << "filter to be removed not found";
}
+void ChannelProxy::Context::OnClientLaunched(base::ProcessHandle handle) {
+ channel_->OnClientLaunched(handle);
+}
+
// Called on the listener's thread
void ChannelProxy::Context::AddFilter(MessageFilter* filter) {
base::AutoLock auto_lock(pending_filters_lock_);
@@ -434,6 +438,12 @@ void ChannelProxy::ClearIPCTaskRunner() {
context()->ClearIPCTaskRunner();
}
+void ChannelProxy::OnClientLaunched(base::ProcessHandle handle) {
+ context_->ipc_task_runner()->PostTask(
+ FROM_HERE,
+ base::Bind(&Context::OnClientLaunched, context_.get(), handle));
+}
+
#if defined(OS_POSIX) && !defined(OS_NACL)
// See the TODO regarding lazy initialization of the channel in
// ChannelProxy::Init().
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_test_base.h » ('j') | ipc/ipc_test_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698