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

Unified Diff: device/usb/usb_device_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_android.h
diff --git a/device/usb/usb_device_android.h b/device/usb/usb_device_android.h
index d9455629e922f096088ab27201b57fab7895008e..af6a59e512460e3b8cce79ef289bcac4033a8ecb 100644
--- a/device/usb/usb_device_android.h
+++ b/device/usb/usb_device_android.h
@@ -15,9 +15,6 @@ class UsbServiceAndroid;
class UsbDeviceAndroid : public UsbDevice {
public:
- // Register C++ methods exposed to Java using JNI.
- static bool RegisterJNI(JNIEnv* env);
-
static scoped_refptr<UsbDeviceAndroid> Create(
JNIEnv* env,
base::WeakPtr<UsbServiceAndroid> service,

Powered by Google App Engine
This is Rietveld 408576698