chromium/services/device/public/cpp/usb/usb_utils.cc

// Copyright 2017 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/usb/usb_utils.h"

#include <utility>

#include "services/device/public/mojom/usb_enumeration_options.mojom.h"

namespace device {

bool UsbDeviceFilterMatches(const mojom::UsbDeviceFilter& filter,
                            const mojom::UsbDeviceInfo& device_info) {}

bool UsbDeviceFilterMatchesAny(
    const std::vector<mojom::UsbDeviceFilterPtr>& filters,
    const mojom::UsbDeviceInfo& device_info) {}

std::vector<mojom::UsbIsochronousPacketPtr> BuildIsochronousPacketArray(
    const std::vector<uint32_t>& packet_lengths,
    mojom::UsbTransferStatus status) {}

uint8_t ConvertEndpointAddressToNumber(uint8_t address) {}

uint8_t ConvertEndpointNumberToAddress(uint8_t endpoint_number,
                                       mojom::UsbTransferDirection direction) {}

uint8_t ConvertEndpointNumberToAddress(
    const mojom::UsbEndpointInfo& mojo_endpoint) {}

uint16_t GetUsbVersion(const mojom::UsbDeviceInfo& device_info) {}

uint16_t GetDeviceVersion(const mojom::UsbDeviceInfo& device_info) {}

}  // namespace device