summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
diff options
context:
space:
mode:
authorgogerald <gogerald@chromium.org>2016-02-10 14:25:56 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-10 22:27:21 +0000
commit43eba589ad78fbae63cef04ad67e8468e60b1165 (patch)
tree3844721ced912d73f01d66b9406a2f0a3b411d90 /device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
parente9da717d1cd3fd4b41b04456b9e454c5c028cac3 (diff)
downloadchromium_src-43eba589ad78fbae63cef04ad67e8468e60b1165.zip
chromium_src-43eba589ad78fbae63cef04ad67e8468e60b1165.tar.gz
chromium_src-43eba589ad78fbae63cef04ad67e8468e60b1165.tar.bz2
Add BluetoothRemoteGattServiceWin to BluetoothDeviceWin
This CL adds BluetoothRemoteGattServiceWin to BluetoothDeviceWin. The upcoming CL will implement BluetoothRemoteGattServiceWin. BUG=579202 Review URL: https://codereview.chromium.org/1681853003 Cr-Commit-Position: refs/heads/master@{#374751}
Diffstat (limited to 'device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc')
-rw-r--r--device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
index f3ab385..d8d0299 100644
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
@@ -208,8 +208,7 @@ void BluetoothRemoteGattCharacteristicAndroid::OnChanged(
const JavaParamRef<jobject>& jcaller,
const JavaParamRef<jbyteArray>& value) {
base::android::JavaByteArrayToByteVector(env, value, &value_);
- FOR_EACH_OBSERVER(BluetoothAdapter::Observer, adapter_->GetObservers(),
- GattCharacteristicValueChanged(adapter_, this, value_));
+ adapter_->NotifyGattCharacteristicValueChanged(this, value_);
}
void BluetoothRemoteGattCharacteristicAndroid::OnRead(