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

Side by Side Diff: device/devices_app/usb/public/interfaces/device_manager.mojom

Issue 1183443002: Reland: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn check... Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module device.usb; 5 module device.usb;
6 6
7 import "device.mojom"; 7 import "device.mojom";
8 8
9 enum OpenDeviceError { 9 enum OpenDeviceError {
10 // Opening the device succeeded. 10 // Opening the device succeeded.
(...skipping 28 matching lines...) Expand all
39 }; 39 };
40 40
41 interface DeviceManager { 41 interface DeviceManager {
42 // Retrieves information about all devices available to the DeviceManager 42 // Retrieves information about all devices available to the DeviceManager
43 // implementation. 43 // implementation.
44 GetDevices(EnumerationOptions options) => (array<DeviceInfo> results); 44 GetDevices(EnumerationOptions options) => (array<DeviceInfo> results);
45 45
46 // Attempts to open a device given its GUID. 46 // Attempts to open a device given its GUID.
47 OpenDevice(string guid, Device& device_request) => (OpenDeviceError error); 47 OpenDevice(string guid, Device& device_request) => (OpenDeviceError error);
48 }; 48 };
OLDNEW
« no previous file with comments | « device/devices_app/usb/public/interfaces/device.mojom ('k') | device/devices_app/usb/type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698