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"
16 const base::android::RegistrationMethod kRegisteredMethods
[] = {
17 {"BluetoothAdapterAndroid", device::BluetoothAdapterAndroid::RegisterJNI
},
18 {"Wrappers", device::WrappersRegisterJNI
},
23 bool RegisterBluetoothJni(JNIEnv
* env
) {
24 return RegisterNativeMethods(env
, kRegisteredMethods
,
25 arraysize(kRegisteredMethods
));
28 } // namespace android