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; |