Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2040)

Unified Diff: device/usb/public/interfaces/device.mojom

Issue 1158323002: Revert of Build a basic Mojo service framework for device/usb (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/public/interfaces/BUILD.gn ('k') | device/usb/public/interfaces/device_manager.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/public/interfaces/device.mojom
diff --git a/device/usb/public/interfaces/device.mojom b/device/usb/public/interfaces/device.mojom
deleted file mode 100644
index efb9a1a09c43fac7c1f9aaf3382a7cc0abc21331..0000000000000000000000000000000000000000
--- a/device/usb/public/interfaces/device.mojom
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module device.usb;
-
-enum TransferDirection {
- IN,
- OUT,
-};
-
-enum EndpointType {
- BULK,
- INTERRUPT,
- ISOCHRONOUS,
-};
-
-struct EndpointInfo {
- uint8 endpoint_number;
- TransferDirection direction;
- EndpointType type;
- uint32 packet_size;
-};
-
-struct AlternateInterfaceInfo {
- uint8 alternate_setting;
- uint8 class_code;
- uint8 subclass_code;
- uint8 protocol_code;
- string? interface_name;
- array<EndpointInfo> endpoints;
-};
-
-struct InterfaceInfo {
- uint8 interface_number;
- array<AlternateInterfaceInfo> alternates;
-};
-
-struct ConfigurationInfo {
- uint8 configuration_value;
- string? configuration;
- array<InterfaceInfo> interfaces;
-};
-
-struct DeviceInfo {
- uint16 usb_version;
- uint8 class_code;
- uint8 subclass_code;
- uint8 protocol_code;
- uint16 vendor_id;
- uint16 product_id;
- uint16 device_version;
- string? manufacturer;
- string? product;
- string? serial_number;
- array<ConfigurationInfo> configurations;
-};
-
-interface Device {
- GetDeviceInfo() => (DeviceInfo info);
-};
« no previous file with comments | « device/usb/public/interfaces/BUILD.gn ('k') | device/usb/public/interfaces/device_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698