#include "chrome/browser/process_singleton_internal.h"
#include "base/metrics/histogram_macros.h"
#include "base/notreached.h"
#include "base/trace_event/base_tracing.h"
#include "base/tracing/protos/chrome_track_event.pbzero.h"
#include "build/build_config.h"
namespace internal {
namespace {
#define CASE(enum_value) …
perfetto::protos::pbzero::ProcessSingleton::RemoteProcessInteractionResult
ToProtoEnum(ProcessSingleton::RemoteProcessInteractionResult result) { … }
perfetto::protos::pbzero::ProcessSingleton::RemoteHungProcessTerminateReason
ToProtoEnum(ProcessSingleton::RemoteHungProcessTerminateReason reason) { … }
}
void SendRemoteProcessInteractionResultHistogram(
ProcessSingleton::RemoteProcessInteractionResult result) { … }
void SendRemoteHungProcessTerminateReasonHistogram(
ProcessSingleton::RemoteHungProcessTerminateReason reason) { … }
}