blob: 7f8afe66c8acdcb585a3e4e38276aba75e91ea50 [file] [log] [blame]
// 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_service_android.h"
namespace device {
namespace android {
namespace {
const base::android::RegistrationMethod kRegisteredMethods[] = {
{"UsbServiceAndroid", device::UsbServiceAndroid::RegisterJNI},
};
} // namespace
bool RegisterUsbJni(JNIEnv* env) {
return RegisterNativeMethods(env, kRegisteredMethods,
arraysize(kRegisteredMethods));
}
} // namespace android
} // namespace device