chromium/services/device/public/cpp/hid/hid_report_utils.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/device/public/cpp/hid/hid_report_utils.h"

#include "base/containers/contains.h"

namespace device {

namespace {

const std::vector<mojom::HidReportDescriptionPtr>& ReportsForType(
    const mojom::HidCollectionInfo& collection,
    HidReportType report_type) {}

}  // namespace

bool IsAlwaysProtected(const mojom::HidUsageAndPage& hid_usage_and_page,
                       HidReportType report_type) {}

bool CollectionHasUnprotectedReports(
    const mojom::HidCollectionInfo& collection) {}

const mojom::HidCollectionInfo* FindCollectionWithReport(
    const mojom::HidDeviceInfo& device,
    uint8_t report_id,
    HidReportType report_type) {}

}  // namespace device