Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java

Issue 2499913002: bluetooth: android: Implement RetrieveGattConnectedDevicesWithFilter
Patch Set: Comment why BluetoothDeviceWrapper is in a separate file Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java
diff --git a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java
index ebe9f07ecc17dd9bfd3766920daa0b82ac47fb17..6cf99fd023773a5700824355e2f9441b3db760c0 100644
--- a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java
+++ b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java
@@ -29,7 +29,7 @@ final class ChromeBluetoothDevice {
private static final String TAG = "Bluetooth";
private long mNativeBluetoothDeviceAndroid;
- final Wrappers.BluetoothDeviceWrapper mDevice;
+ final BluetoothDeviceWrapper mDevice;
Wrappers.BluetoothGattWrapper mBluetoothGatt;
private final BluetoothGattCallbackImpl mBluetoothGattCallbackImpl;
final HashMap<Wrappers.BluetoothGattCharacteristicWrapper,
@@ -38,7 +38,7 @@ final class ChromeBluetoothDevice {
mWrapperToChromeDescriptorsMap;
private ChromeBluetoothDevice(
- long nativeBluetoothDeviceAndroid, Wrappers.BluetoothDeviceWrapper deviceWrapper) {
+ long nativeBluetoothDeviceAndroid, BluetoothDeviceWrapper deviceWrapper) {
mNativeBluetoothDeviceAndroid = nativeBluetoothDeviceAndroid;
mDevice = deviceWrapper;
mBluetoothGattCallbackImpl = new BluetoothGattCallbackImpl();
@@ -66,13 +66,13 @@ final class ChromeBluetoothDevice {
// BluetoothDeviceAndroid methods implemented in java:
// Implements BluetoothDeviceAndroid::Create.
- // 'Object' type must be used because inner class Wrappers.BluetoothDeviceWrapper reference is
+ // 'Object' type must be used because inner class BluetoothDeviceWrapper reference is
// not handled by jni_generator.py JavaToJni. http://crbug.com/505554
@CalledByNative
private static ChromeBluetoothDevice create(
long nativeBluetoothDeviceAndroid, Object deviceWrapper) {
return new ChromeBluetoothDevice(
- nativeBluetoothDeviceAndroid, (Wrappers.BluetoothDeviceWrapper) deviceWrapper);
+ nativeBluetoothDeviceAndroid, (BluetoothDeviceWrapper) deviceWrapper);
}
// Implements BluetoothDeviceAndroid::GetBluetoothClass.

Powered by Google App Engine
This is Rietveld 408576698