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

Unified Diff: device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java

Issue 2017273002: Support USB device hotplug on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add dependency on //device/usb:java. Created 4 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/BUILD.gn ('k') | device/usb/android/java/src/org/chromium/device/usb/ChromeUsbService.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java
diff --git a/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java b/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java
index a669dd01e5f153f00fee34b4cbf6cfba50759727..e67396400442831bf317177f72097d100352abb6 100644
--- a/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java
+++ b/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbDevice.java
@@ -37,6 +37,11 @@ final class ChromeUsbDevice {
}
@CalledByNative
+ private int getDeviceId() {
+ return mDevice.getDeviceId();
+ }
+
+ @CalledByNative
private int getDeviceClass() {
return mDevice.getDeviceClass();
}
« no previous file with comments | « device/BUILD.gn ('k') | device/usb/android/java/src/org/chromium/device/usb/ChromeUsbService.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698