QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / device / bluetooth / android / bluetooth_jni_registrar.h
blob052a0dad6d8b0024967414ae837d912888816c62
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_
8 #include <jni.h>
10 #include "device/bluetooth/bluetooth_export.h"
12 namespace device {
13 namespace android {
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
22 } // namespace device
24 #endif // DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_JNI_REGISTRAR_H_