#include "services/viz/public/cpp/gpu/command_buffer_metrics.h"
#include "base/metrics/histogram_macros.h"
#include "components/viz/common/gpu/context_lost_reason.h"
namespace viz {
namespace command_buffer_metrics {
namespace {
void RecordContextLost(ContextType type, ContextLostReason reason) { … }
}
std::string ContextTypeToString(ContextType type) { … }
void UmaRecordContextInitFailed(ContextType type) { … }
void UmaRecordContextLost(ContextType type,
gpu::error::Error error,
gpu::error::ContextLostReason reason) { … }
}
}