#include "components/enterprise/idle/metrics.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/stringprintf.h"
namespace enterprise_idle {
namespace metrics {
void RecordIdleTimeoutActionTimeTaken(IdleTimeoutActionType type,
base::TimeDelta time_duration) { … }
void RecordIdleTimeoutCase(IdleTimeoutCase timeout_case) { … }
void RecordActionsSuccess(IdleTimeoutActionType type, bool success) { … }
void RecordIdleTimeoutDialogEvent(IdleTimeoutDialogEvent event) { … }
void RecordIdleTimeoutLaunchScreenEvent(IdleTimeoutLaunchScreenEvent event) { … }
std::string GetActionNameFromActionType(IdleTimeoutActionType type) { … }
}
}