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

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

Issue 1369643002: Add configuration and interface permission checks to DeviceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new method ot Android USB mocks. Created 5 years, 3 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.mojom
diff --git a/device/devices_app/usb/public/interfaces/device.mojom b/device/devices_app/usb/public/interfaces/device.mojom
index 45797b7495da39173097b03fe4d820665b3eaf40..5382ce37e90d0185cb48fba2a5170f3c3e1fabe2 100644
--- a/device/devices_app/usb/public/interfaces/device.mojom
+++ b/device/devices_app/usb/public/interfaces/device.mojom
@@ -115,6 +115,9 @@ enum TransferStatus {
// The transfer failed due to a non-specific error.
ERROR,
+ // The transfer was not allowed.
+ PERMISSION_DENIED,
+
// The transfer timed out.
TIMEOUT,

Powered by Google App Engine
This is Rietveld 408576698