#include <string>
+#include "base/process/process.h"
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
// Called when the child process unexpected closes the IPC channel. Delegates
// would normally delete the object in this case.
virtual void OnChildDisconnected() {}
+
+ // Returns the handle of the child process. This can be called only after
+ // OnProcessLaunched is called or it will be invalid and may crash.
+ virtual base::ProcessHandle GetHandle() const = 0;
};
}; // namespace content