#include <string>
#include "base/metrics/histogram_functions.h"
#include "base/strings/stringprintf.h"
#include "components/commerce/core/parcel/parcels_utils.h"
namespace commerce {
namespace {
const char kParcelTrackingHistogramNameFormat[] = …;
std::string GetParcelRequestTypeName(ParcelRequestType request_type) { … }
}
bool IsParcelStateDone(ParcelStatus::ParcelState parcel_state) { … }
void RecordParcelsRequestMetrics(ParcelRequestType request_type,
ParcelRequestStatus request_status) { … }
}