#include "third_party/blink/renderer/modules/ai/ai_metrics.h"
#include <string_view>
#include "base/notreached.h"
#include "base/strings/strcat.h"
namespace blink {
namespace {
std::string_view GetAISessionTypeName(AIMetrics::AISessionType session_type) { … }
}
std::string AIMetrics::GetAIAPIUsageMetricName(AISessionType session_type) { … }
std::string AIMetrics::GetAICapabilityAvailabilityMetricName(
AISessionType session_type) { … }
std::string AIMetrics::GetAISessionRequestSizeMetricName(
AISessionType session_type) { … }
std::string AIMetrics::GetAISessionResponseStatusMetricName(
AISessionType session_type) { … }
std::string AIMetrics::GetAISessionResponseSizeMetricName(
AISessionType session_type) { … }
std::string AIMetrics::GetAISessionResponseCallbackCountMetricName(
AISessionType session_type) { … }
}