#include "services/device/public/cpp/hid/hid_report_descriptor.h"
#include <algorithm>
#include <limits>
#include <utility>
#include "base/stl_util.h"
namespace device {
namespace {
const int kBitsPerByte = …;
}
HidReportDescriptor::HidReportDescriptor(base::span<const uint8_t> bytes) { … }
HidReportDescriptor::~HidReportDescriptor() { … }
void HidReportDescriptor::GetDetails(
std::vector<mojom::HidCollectionInfoPtr>* top_level_collections,
bool* has_report_id,
size_t* max_input_report_bytes,
size_t* max_output_report_bytes,
size_t* max_feature_report_bytes) const { … }
}