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

Unified Diff: device/usb/usb_device_handle_android.h

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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/usb/usb_device_handle_android.h
diff --git a/device/usb/usb_device_handle_android.h b/device/usb/usb_device_handle_android.h
index 82c56dc15c000e744befe54f148a89d23dbc6813..b78ffa7a22f3141a0fbaa7ff056ec3e65af9899b 100644
--- a/device/usb/usb_device_handle_android.h
+++ b/device/usb/usb_device_handle_android.h
@@ -16,9 +16,6 @@ class UsbDevice;
// through an instance of android.hardware.usb.UsbDeviceConnection.
class UsbDeviceHandleAndroid : public UsbDeviceHandleUsbfs {
public:
- // Register C++ methods exposed to Java using JNI.
- static bool RegisterJNI(JNIEnv* env);
-
static scoped_refptr<UsbDeviceHandleAndroid> Create(
JNIEnv* env,
scoped_refptr<UsbDevice> device,

Powered by Google App Engine
This is Rietveld 408576698