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 #ifndef DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_JNI_REGISTRAR_H_
6 #define DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_JNI_REGISTRAR_H_
10 #include "device/bluetooth/bluetooth_export.h"
15 // Registers C++ methods in device/bluetooth classes with JNI.
16 // See https://www.chromium.org/developers/design-documents/android-jni
18 // Must be called before classes in the Bluetooth module are used.
19 DEVICE_BLUETOOTH_EXPORT
bool RegisterBluetoothJni(JNIEnv
* env
);
21 } // namespace android
24 #endif // DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_JNI_REGISTRAR_H_