QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / device / bluetooth / android / bluetooth_jni_registrar.cc
bloba72ddf63f16df08705bd2f081b88bd8ca1b471a4
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"
13 namespace device {
14 namespace android {
15 namespace {
17 const base::android::RegistrationMethod kRegisteredMethods[] = {
18 {"BluetoothAdapterAndroid", device::BluetoothAdapterAndroid::RegisterJNI},
19 {"BluetoothDeviceAndroid", device::BluetoothDeviceAndroid::RegisterJNI},
20 {"Wrappers", device::WrappersRegisterJNI},
23 } // namespace
25 bool RegisterBluetoothJni(JNIEnv* env) {
26 return RegisterNativeMethods(env, kRegisteredMethods,
27 arraysize(kRegisteredMethods));
30 } // namespace android
31 } // namespace device