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_ADAPTER_WRAPPER_H_
6 #define DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_ADAPTER_WRAPPER_H_
8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h"
10 #include "device/bluetooth/bluetooth_export.h"
14 // Bindings into Java methods in org.chromium.device.bluetooth.Wrappers classes:
16 // Register C++ methods exposed to Java using JNI.
17 bool WrappersRegisterJNI(JNIEnv
* env
);
19 // Calls Java: BluetoothAdapterWrapper.createWithDefaultAdapter().
20 DEVICE_BLUETOOTH_EXPORT
base::android::ScopedJavaLocalRef
<jobject
>
21 BluetoothAdapterWrapper_CreateWithDefaultAdapter();
25 #endif // DEVICE_BLUETOOTH_ANDROID_BLUETOOTH_ADAPTER_WRAPPER_H_