chromium/chrome/browser/ui/webui/usb_internals/usb_internals.mojom

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

module mojom;

import "services/device/public/mojom/usb_manager.mojom";
import "services/device/public/mojom/usb_manager_test.mojom";

interface UsbInternalsPageHandler {
  // Bind the UsbDeviceManager receiver to get all devices that connected.
  BindUsbDeviceManagerInterface(
      pending_receiver<device.mojom.UsbDeviceManager> receiver);

  // Simulate the connection of a new device with the given properties.
  BindTestInterface(
      pending_receiver<device.mojom.UsbDeviceManagerTest> receiver);
};