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

Unified Diff: device/usb/usb_endpoint_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_endpoint_android.h
diff --git a/device/usb/usb_endpoint_android.h b/device/usb/usb_endpoint_android.h
index 3fc835cd41fb867c5fb10e6ee045a7d8fa89cc44..e56e514ed4fc51d1e3d996c10a8a9c120823eaa7 100644
--- a/device/usb/usb_endpoint_android.h
+++ b/device/usb/usb_endpoint_android.h
@@ -12,9 +12,6 @@ namespace device {
class UsbEndpointAndroid {
public:
- // Register C++ methods exposed to Java using JNI.
- static bool RegisterJNI(JNIEnv* env);
-
static UsbEndpointDescriptor Convert(
JNIEnv* env,
const base::android::JavaRef<jobject>& usb_endpoint);

Powered by Google App Engine
This is Rietveld 408576698