chromium/third_party/blink/renderer/modules/webusb/usb_interface.cc

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

#include "third_party/blink/renderer/modules/webusb/usb_interface.h"

#include "base/notreached.h"
#include "services/device/public/mojom/usb_device.mojom-blink.h"
#include "third_party/blink/renderer/modules/webusb/usb_alternate_interface.h"
#include "third_party/blink/renderer/modules/webusb/usb_configuration.h"
#include "third_party/blink/renderer/modules/webusb/usb_device.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"

namespace blink {

USBInterface* USBInterface::Create(const USBConfiguration* configuration,
                                   wtf_size_t interface_index) {}

USBInterface* USBInterface::Create(const USBConfiguration* configuration,
                                   uint8_t interface_number,
                                   ExceptionState& exception_state) {}

USBInterface::USBInterface(const USBDevice* device,
                           wtf_size_t configuration_index,
                           wtf_size_t interface_index)
    :{}

const device::mojom::blink::UsbInterfaceInfo& USBInterface::Info() const {}

USBAlternateInterface* USBInterface::alternate() const {}

HeapVector<Member<USBAlternateInterface>> USBInterface::alternates() const {}

bool USBInterface::claimed() const {}

void USBInterface::Trace(Visitor* visitor) const {}

}  // namespace blink