|
|
Remove service, add device, in BluetoothLocalGattService::Delegate.
This Delegate sends the service along with the local GATT attributes when
there really is no reason to send the service along. If a client needs the
service, they can just get it from the attribute they are handling.
However, we *are* missing the device, which is needed by clients to identify
which device is actually making the read/write/notifystate requests.
BluetoothLocalGattCharacteristicBlueZ::NotifyValueChanged now also
takes a device.
This CL fixes these issues and all current clients/tests for this code.
R=scheib@chromium.org
BUG= 611862
Committed: https://crrev.com/d4ba1a590a3fcfee93f76ed4eb5d02235c4c8ad8
Cr-Commit-Position: refs/heads/master@{#394251}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -138 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
|
View
|
1
2
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc
|
View
|
1
2
|
5 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_local_gatt_characteristic.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc
|
View
|
1
|
10 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_local_gatt_descriptor.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_local_gatt_descriptor_unittest.cc
|
View
|
|
6 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_local_gatt_service.h
|
View
|
1
|
5 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluez/bluetooth_adapter_bluez.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/bluetooth_test.h
|
View
|
|
5 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/bluetooth_test.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/bluetooth_test_bluez.h
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/bluetooth_test_bluez.cc
|
View
|
|
10 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
|
View
|
1
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc
|
View
|
1
|
5 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
Total messages: 17 (8 generated)
|