1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/bluetooth/android/bluetooth_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "device/bluetooth/android/wrappers.h"
10 #include "device/bluetooth/bluetooth_adapter_android.h"
11 #include "device/bluetooth/bluetooth_device_android.h"
17 const base::android::RegistrationMethod kRegisteredMethods
[] = {
18 {"BluetoothAdapterAndroid", device::BluetoothAdapterAndroid::RegisterJNI
},
19 {"BluetoothDeviceAndroid", device::BluetoothDeviceAndroid::RegisterJNI
},
20 {"Wrappers", device::WrappersRegisterJNI
},
25 bool RegisterBluetoothJni(JNIEnv
* env
) {
26 return RegisterNativeMethods(env
, kRegisteredMethods
,
27 arraysize(kRegisteredMethods
));
30 } // namespace android