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

Unified Diff: device/usb/usb_configuration_android.cc

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_configuration_android.cc
diff --git a/device/usb/usb_configuration_android.cc b/device/usb/usb_configuration_android.cc
index d7c140162b2a1079017d8effcbf1be5092d848f9..a186835d49d3cefa8a7d5ae1bd939dc69a580ea1 100644
--- a/device/usb/usb_configuration_android.cc
+++ b/device/usb/usb_configuration_android.cc
@@ -12,11 +12,6 @@ using base::android::ScopedJavaLocalRef;
namespace device {
// static
-bool UsbConfigurationAndroid::RegisterJNI(JNIEnv* env) {
- return RegisterNativesImpl(env); // Generated in ChromeUsbConfiguration_jni.h
-}
-
-// static
UsbConfigDescriptor UsbConfigurationAndroid::Convert(
JNIEnv* env,
const base::android::JavaRef<jobject>& usb_configuration) {

Powered by Google App Engine
This is Rietveld 408576698