#include "chrome/browser/ui/views/devtools_process_observer.h"
#include "base/process/process.h"
#include "components/ui_devtools/tracing_agent.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/child_process_termination_info.h"
#include "content/public/common/process_type.h"
DevtoolsProcessObserver::DevtoolsProcessObserver(
ui_devtools::TracingAgent* agent)
: … { … }
DevtoolsProcessObserver::~DevtoolsProcessObserver() { … }
void DevtoolsProcessObserver::BrowserChildProcessLaunchedAndConnected(
const content::ChildProcessData& data) { … }
void DevtoolsProcessObserver::BrowserChildProcessHostDisconnected(
const content::ChildProcessData& data) { … }
void DevtoolsProcessObserver::BrowserChildProcessCrashed(
const content::ChildProcessData& data,
const content::ChildProcessTerminationInfo& info) { … }
void DevtoolsProcessObserver::BrowserChildProcessKilled(
const content::ChildProcessData& data,
const content::ChildProcessTerminationInfo& info) { … }