|
bluetooth: Implement Service.getCharacteristics
1. Adds bindings for getCharacteristics
2. Adds getCharacteristics function to public interface
3. Implements getCharacteristics from public interface
4. Adds necessary IPC messages
5. Modifies HeartRateService so that it has two Body Sensor Location
characteristics. This way we can test what happens when two characteristics
have the same UUID. Also modify the GetBaseGATTCharacteristic function to
take an identifier. Before we just used the UUID but we need to change it
now that multiple characteristics have the same UUID.
6. Adds LayoutTests.
BUG= 588876
Committed: https://crrev.com/42d4354380744ef74e17b79d5ab4e5f2e42e17f7
Cr-Commit-Position: refs/heads/master@{#378001}
Total comments: 23
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+690 lines, -50 lines) |
Patch |
|
M |
content/browser/bluetooth/bluetooth_dispatcher_host.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/bluetooth/bluetooth_dispatcher_host.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+81 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/bluetooth/bluetooth_metrics.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/bluetooth/bluetooth_metrics.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+36 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/common/bluetooth/bluetooth_messages.h
|
View
|
1
2
3
4
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/bluetooth/bluetooth_dispatcher.h
|
View
|
1
2
3
4
|
4 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/bluetooth/bluetooth_dispatcher.cc
|
View
|
1
2
3
4
|
5 chunks |
+68 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/bluetooth/web_bluetooth_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/bluetooth/web_bluetooth_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+48 lines, -20 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristic.html
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/blacklisted-characteristics.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/blacklisted-characteristics-with-uuid.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -13 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/characteristics-found.html
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/characteristics-found-with-uuid.html
|
View
|
1
2
3
4
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/characteristics-not-found.html
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/correct-characteristics.html
|
View
|
1
2
3
4
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-goes-out-of-range.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-goes-out-of-range-with-uuid.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/get-same-characteristics.html
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/service-is-removed.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/service-is-removed-with-uuid.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
View
|
1
2
3
4
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothError.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTCharacteristicInit.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
|
3 chunks |
+28 lines, -2 lines |
0 comments
|
Download
|
Total messages: 40 (18 generated)
|