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

Unified Diff: content/public/common/child_process_host.h

Issue 960693003: Enable ChannelMojo for non-renderer child processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Splitted out the ipc/ change Created 5 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
Index: content/public/common/child_process_host.h
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
index c79938b405f82d6c0d591730d0cf59c31c766aac..74db503aacf5a99fa73dec45b80e4f1449ed43b2 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_
#include "base/files/scoped_file.h"
+#include "base/process/process_handle.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "ipc/ipc_channel_proxy.h"
@@ -97,6 +98,9 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
// Adds an IPC message filter. A reference will be kept to the filter.
virtual void AddFilter(IPC::MessageFilter* filter) = 0;
+ // Notifies the child process being launched
+ virtual void OnProcessLaunched(base::ProcessHandle process) = 0;
+
#if defined(OS_POSIX)
// See IPC::Channel::TakeClientFileDescriptor.
virtual base::ScopedFD TakeClientFileDescriptor() = 0;
« no previous file with comments | « content/public/browser/browser_child_process_host_delegate.cc ('k') | content/public/common/child_process_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698