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

Unified Diff: device/usb/android/usb_jni_registrar.cc

Issue 1561283003: Revert of Implement basic USB device enumeration on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/usb/android/usb_jni_registrar.h ('k') | device/usb/mock_usb_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/android/usb_jni_registrar.cc
diff --git a/device/usb/android/usb_jni_registrar.cc b/device/usb/android/usb_jni_registrar.cc
deleted file mode 100644
index 1e53c5bc0d5050c2b608524d2c1c95d6e688cd26..0000000000000000000000000000000000000000
--- a/device/usb/android/usb_jni_registrar.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/usb/android/usb_jni_registrar.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_registrar.h"
-#include "device/usb/usb_configuration_android.h"
-#include "device/usb/usb_device_android.h"
-#include "device/usb/usb_endpoint_android.h"
-#include "device/usb/usb_interface_android.h"
-#include "device/usb/usb_service_android.h"
-
-namespace device {
-namespace android {
-namespace {
-
-const base::android::RegistrationMethod kRegisteredMethods[] = {
- {"UsbConfigurationAndroid", device::UsbConfigurationAndroid::RegisterJNI},
- {"UsbDeviceAndroid", device::UsbDeviceAndroid::RegisterJNI},
- {"UsbEndpointAndroid", device::UsbEndpointAndroid::RegisterJNI},
- {"UsbInterfaceAndroid", device::UsbInterfaceAndroid::RegisterJNI},
- {"UsbServiceAndroid", device::UsbServiceAndroid::RegisterJNI},
-};
-
-} // namespace
-
-bool RegisterUsbJni(JNIEnv* env) {
- return RegisterNativeMethods(env, kRegisteredMethods,
- arraysize(kRegisteredMethods));
-}
-
-} // namespace android
-} // namespace device
« no previous file with comments | « device/usb/android/usb_jni_registrar.h ('k') | device/usb/mock_usb_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698