Index: device/bluetooth/bluetooth_adapter_android.h |
diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h |
index cfb9d31733b719f3815ae49a561df2dbbbfb9f41..d458bb5659cc2a42c1de519da1bc02db69dc1531 100644 |
--- a/device/bluetooth/bluetooth_adapter_android.h |
+++ b/device/bluetooth/bluetooth_adapter_android.h |
@@ -23,6 +23,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final |
// Create a BluetoothAdapterAndroid instance. |
static base::WeakPtr<BluetoothAdapterAndroid> CreateAdapter(); |
+ // Create a BluetoothAdapterAndroid instance without Bluetooth permission. |
+ static base::WeakPtr<BluetoothAdapterAndroid> |
+ CreateAdapterWithoutPermissionForTesting(); |
+ |
// Register C++ methods exposed to Java using JNI. |
static bool RegisterJNI(JNIEnv* env); |