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

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

Issue 1682363002: Remove //device/devices_app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two files that somehow survived in //device/devices_app. Created 4 years, 10 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
Index: device/devices_app/usb/public/interfaces/device_manager.mojom
diff --git a/device/devices_app/usb/public/interfaces/device_manager.mojom b/device/devices_app/usb/public/interfaces/device_manager.mojom
deleted file mode 100644
index fa8bb75c0954e2ccfbf6e3de17301de5a5250e67..0000000000000000000000000000000000000000
--- a/device/devices_app/usb/public/interfaces/device_manager.mojom
+++ /dev/null
@@ -1,47 +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;
-
-import "device.mojom";
-
-struct DeviceFilter {
- bool has_vendor_id;
- uint16 vendor_id;
-
- bool has_product_id;
- uint16 product_id;
-
- bool has_class_code;
- uint8 class_code;
-
- bool has_subclass_code;
- uint8 subclass_code;
-
- bool has_protocol_code;
- uint8 protocol_code;
-};
-
-struct EnumerationOptions {
- array<DeviceFilter>? filters;
-};
-
-struct DeviceChangeNotification {
- array<DeviceInfo> devices_added;
- array<DeviceInfo> devices_removed;
-};
-
-interface DeviceManager {
- // Retrieves information about all devices available to the DeviceManager
- // implementation.
- GetDevices(EnumerationOptions? options) => (array<DeviceInfo> results);
-
- // Retrieves information about changes to the set of devices available to the
- // DeviceManager since the last call to this method. A device that is added
- // and removed between calls will not be included.
- GetDeviceChanges() => (DeviceChangeNotification changes);
-
- // Requests a device by guid.
- GetDevice(string guid, Device& device_request);
-};

Powered by Google App Engine
This is Rietveld 408576698