#include "components/enterprise/client_certificates/core/metrics_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
namespace client_certificates {
namespace {
std::string_view ProvisioningScenarioToString(ProvisioningScenario scenario) { … }
std::string_view SuccessToString(bool success) { … }
}
void LogProvisioningError(ProvisioningError provisioning_error,
std::optional<StoreError> store_error) { … }
void LogKeySyncResponse(HttpCodeOrClientError upload_code) { … }
void LogCertificateCreationResponse(HttpCodeOrClientError upload_code,
bool has_certificate) { … }
void LogProvisioningContext(ProvisioningContext context, bool success) { … }
void LogPrivateKeyCreationSource(PrivateKeySource source) { … }
}