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

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)

Created:
4 years, 1 month ago by dougt
Modified:
3 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, einbinder+watch-test-runner_chromium.org, haraken, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, juncai
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement WebBluetooth getDescriptor[s] A GATT Descriptor provides further information about a characteristic's value. For each characteristic there may be many descriptors as defined by https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor. BUG=660699 R=ortuno@chromium.org Review-Url: https://codereview.chromium.org/2466223002 Cr-Commit-Position: refs/heads/master@{#443784} Committed: https://chromium.googlesource.com/chromium/src/+/4f2237ccffefb9642173b872d4a0aafbac57f65e

Patch Set 1 #

Patch Set 2 : Ensure that we throw a kGattServerNotConnected error if getDescriptor[s] is called while not connec… #

Total comments: 80

Patch Set 3 : Addressing code review comments from ortuno (still working on test changes) #

Total comments: 14

Patch Set 4 : Rebase #

Total comments: 80

Patch Set 5 : Updating cross-origin-objects-exceptions.html #

Total comments: 71

Patch Set 6 : Addressing code review comments from ortuno #

Patch Set 7 : rebase to master #

Total comments: 33

Patch Set 8 : Addressing code review comments from ortuno #

Patch Set 9 : Updating histograms.xml #

Total comments: 2

Patch Set 10 : Removing BDH_INVALID_DESCRIPTOR_ID #

Total comments: 20

Patch Set 11 : Remove macos restriction #

Total comments: 14

Patch Set 12 : Implement WebBluetooth getDescriptor[s] #

Total comments: 9

Patch Set 13 : Implement WebBluetooth getDescriptor[s] #

Total comments: 6

Patch Set 14 : Implement WebBluetooth getDescriptor[s] #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1742 lines, -131 lines) Patch
M content/browser/bluetooth/web_bluetooth_service_impl.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +13 lines, -5 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +83 lines, -16 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +50 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +17 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_characteristic.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_characteristic.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +26 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_descriptor.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/descriptor-not-found.html View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-descriptor-blocklisted.html View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-descriptor-garbage-collection-ran-during-error.html View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-descriptor-garbage-collection-ran-during-success.html View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.html View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-descriptor-invalid-name.html View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-device-out-of-range.html View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-device-disconnects-before.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-device-disconnects-during-error.html View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-device-disconnects-during-success.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-disconnect-called-before.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-disconnect-called-during-error.html View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-gatt-op-disconnect-called-during-success.html View 1 2 3 4 3 chunks +10 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptor/gen-service-is-removed.html View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/blocklisted-descriptors-not-present.html View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.html View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-blocklisted.html View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-garbage-collection-ran-during-error.html View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-garbage-collection-ran-during-error-with-uuid.html View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-garbage-collection-ran-during-success.html View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-garbage-collection-ran-during-success-with-uuid.html View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-descriptor-invalid-name.html View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-device-out-of-range.html View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-device-out-of-range-with-uuid.html View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-before.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-before-with-uuid.html View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-during-error.html View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-during-error-with-uuid.html View 1 2 3 4 5 2 chunks +10 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-during-success.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-device-disconnects-during-success-with-uuid.html View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-before.html View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-before-with-uuid.html View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-during-error.html View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-during-error-with-uuid.html View 1 2 3 4 5 3 chunks +10 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-during-success.html View 1 2 3 4 3 chunks +10 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-gatt-op-disconnect-called-during-success-with-uuid.html View 1 2 3 4 5 3 chunks +10 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-service-is-removed.html View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.html View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/readValue/gen-characteristic-is-removed.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/characteristic-is-removed.js View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/descriptor-blocklisted.js View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/descriptor-garbage-collection-ran-during-error.js View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/descriptor-garbage-collection-ran-during-success.js View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/descriptor-get-same-object.js View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/descriptor-invalid-name.js View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/device-out-of-range.js View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-device-disconnects-before.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-device-disconnects-during-error.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-device-disconnects-during-success.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-disconnect-called-before.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-disconnect-called-during-error.js View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-disconnect-called-during-success.js View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/gatt-op-reconnect-during-error.js View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/characteristic/service-is-removed.js View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +24 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +117 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.idl View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +19 lines, -0 lines 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 203 (149 generated)
dougt
ortuno, can you take a look?
4 years, 1 month ago (2016-11-17 22:15:55 UTC) #21
ortuno
I didn't have time to look at the tests in details but I think there ...
4 years ago (2016-11-21 03:34:09 UTC) #26
ortuno
Also add all descriptor related tests to TestExpectations since we don't support descriptors on macOS ...
4 years ago (2016-11-21 03:37:01 UTC) #27
ortuno
Also sorry for the delay! I was trying to finish other work before branch point.
4 years ago (2016-11-21 03:37:28 UTC) #28
dougt
I addressed most of your feedback. Thank you. I have not started on any of ...
4 years ago (2016-11-22 01:47:17 UTC) #31
ortuno
https://codereview.chromium.org/2466223002/diff/80001/content/browser/bluetooth/web_bluetooth_service_impl.h File content/browser/bluetooth/web_bluetooth_service_impl.h (right): https://codereview.chromium.org/2466223002/diff/80001/content/browser/bluetooth/web_bluetooth_service_impl.h#newcode141 content/browser/bluetooth/web_bluetooth_service_impl.h:141: mojo::Array<uint8_t> value, juncai's patch changes this to vector so ...
4 years ago (2016-11-22 03:02:02 UTC) #34
ortuno
As discussed offline we'll should: 1. Only implement getDescriptor(s) in this patch and add generator ...
4 years ago (2016-11-26 06:21:57 UTC) #43
dougt
On 2016/11/26 06:21:57, ortuno wrote: > As discussed offline we'll should: > > 1. Only ...
4 years ago (2016-11-26 23:24:35 UTC) #44
dougt
https://codereview.chromium.org/2466223002/diff/60001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2466223002/diff/60001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode1518 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:1518: // Add two descriptors on the heart rate. One ...
4 years ago (2016-11-29 22:50:48 UTC) #49
ortuno
Almost there! I think we are missing the following tests: - request a blocklisted descriptor ...
4 years ago (2016-12-02 06:14:51 UTC) #54
dougt
I added the following tests: blocklist test service-is-removed test out-of-range test Also, I converted characteristic-is-removed ...
4 years ago (2016-12-02 18:31:29 UTC) #57
dougt
ortuno, ptal.
4 years ago (2016-12-06 15:24:44 UTC) #102
ortuno
https://codereview.chromium.org/2466223002/diff/160001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2466223002/diff/160001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode667 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:667: void LayoutTestBluetoothAdapterProvider::AddDescriptorsToCharacteristic( On 2016/12/02 at 18:31:28, dougt wrote: > ...
4 years ago (2016-12-07 08:05:13 UTC) #103
dougt
> The descriptors in the those adapters are pretty different. The first one needs > ...
4 years ago (2016-12-07 18:56:57 UTC) #104
dougt
https://codereview.chromium.org/2466223002/diff/320001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2466223002/diff/320001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode687 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:687: // add it here with full permission as the ...
4 years ago (2016-12-07 19:48:58 UTC) #105
dougt
https://codereview.chromium.org/2466223002/diff/320001/content/browser/bluetooth/bluetooth_blocklist.cc File content/browser/bluetooth/bluetooth_blocklist.cc (right): https://codereview.chromium.org/2466223002/diff/320001/content/browser/bluetooth/bluetooth_blocklist.cc#newcode180 content/browser/bluetooth/bluetooth_blocklist.cc:180: Add(BluetoothUUID("bad0"), Value::EXCLUDE); On 2016/12/07 08:05:12, ortuno wrote: > hmm ...
4 years ago (2016-12-07 19:50:34 UTC) #106
dougt
https://codereview.chromium.org/2466223002/diff/320001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2466223002/diff/320001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode687 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:687: // add it here with full permission as the ...
4 years ago (2016-12-07 22:21:44 UTC) #111
loftislydia
Here is the details of methods to implement WebBluetooth getdescriptor. Anyway it was a useful ...
4 years ago (2016-12-08 04:45:44 UTC) #121
ortuno
Almost there! https://codereview.chromium.org/2466223002/diff/160001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp (right): https://codereview.chromium.org/2466223002/diff/160001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp#newcode150 third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp:150: DOMException::create(NetworkError, kGATTServerDisconnected)); On 2016/12/07 at 08:05:12, ortuno ...
4 years ago (2016-12-08 05:42:52 UTC) #122
dougt
ortuno, ptal https://codereview.chromium.org/2466223002/diff/380001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2466223002/diff/380001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode734 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:734: device::BluetoothGattCharacteristic::Permission::PERMISSION_WRITE)); On 2016/12/08 05:42:51, ortuno wrote: > ...
4 years ago (2016-12-08 08:35:59 UTC) #123
ortuno
lgtm!
4 years ago (2016-12-08 20:49:14 UTC) #124
ortuno
Ah just noticed that you updated bad_messages but there are no new histograms for it. ...
4 years ago (2016-12-08 20:57:21 UTC) #127
dougt
nasko: PTAL at content/browser/bad_messages.h dcheng: Security review for web_bluetooth.mojom haraken: PTAL at t/W/public/BUILD.gn & third_party/WebKit/Source/modules/modules_idl_files.gni
4 years ago (2016-12-08 21:15:51 UTC) #129
dougt
isherman, ptal at the histrogram change.
4 years ago (2016-12-08 21:23:47 UTC) #131
Ilya Sherman
histograms.xml lgtm
4 years ago (2016-12-08 21:35:14 UTC) #132
nasko
I didn't see where in the patch is BDH_INVALID_DESCRIPTOR_ID actually used. Did I miss a ...
4 years ago (2016-12-08 22:32:51 UTC) #133
dougt
https://codereview.chromium.org/2466223002/diff/420001/content/browser/bad_message.h File content/browser/bad_message.h (right): https://codereview.chromium.org/2466223002/diff/420001/content/browser/bad_message.h#newcode184 content/browser/bad_message.h:184: BDH_INVALID_DESCRIPTOR_ID = 160, On 2016/12/08 22:32:51, nasko (very slow ...
4 years ago (2016-12-08 22:39:56 UTC) #134
haraken
LGTM https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp (right): https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp#newcode14 third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp:14: #include "core/inspector/ConsoleMessage.h" Remove unused header includes from this ...
4 years ago (2016-12-09 00:26:05 UTC) #135
dcheng
https://codereview.chromium.org/2466223002/diff/440001/content/renderer/bluetooth/web_bluetooth_impl.cc File content/renderer/bluetooth/web_bluetooth_impl.cc (right): https://codereview.chromium.org/2466223002/diff/440001/content/renderer/bluetooth/web_bluetooth_impl.cc#newcode299 content/renderer/bluetooth/web_bluetooth_impl.cc:299: // TODO(dcheng): This WebVector should use smart pointers. Hmm ...
4 years ago (2016-12-09 08:17:57 UTC) #136
dougt
https://codereview.chromium.org/2466223002/diff/440001/content/renderer/bluetooth/web_bluetooth_impl.cc File content/renderer/bluetooth/web_bluetooth_impl.cc (right): https://codereview.chromium.org/2466223002/diff/440001/content/renderer/bluetooth/web_bluetooth_impl.cc#newcode299 content/renderer/bluetooth/web_bluetooth_impl.cc:299: // TODO(dcheng): This WebVector should use smart pointers. On ...
4 years ago (2016-12-09 19:20:07 UTC) #137
scheib
https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp (right): https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp#newcode135 third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp:135: CHECK(m_characteristic->gatt()->connected()); On 2016/12/09 19:20:07, dougt wrote: > On 2016/12/09 ...
4 years ago (2016-12-10 01:12:59 UTC) #139
ortuno
https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp (right): https://codereview.chromium.org/2466223002/diff/440001/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp#newcode170 third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp:170: wrapUnique(webDescriptor), m_characteristic)); On 2016/12/10 at 01:12:59, scheib wrote: > ...
4 years ago (2016-12-11 22:12:21 UTC) #140
dougt
dcheng, ptal.
4 years ago (2016-12-12 20:12:06 UTC) #141
dcheng
https://codereview.chromium.org/2466223002/diff/440001/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h File device/bluetooth/test/mock_bluetooth_gatt_characteristic.h (right): https://codereview.chromium.org/2466223002/diff/440001/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h#newcode81 device/bluetooth/test/mock_bluetooth_gatt_characteristic.h:81: ScopedVector<MockBluetoothGattDescriptor> mock_descriptors_; On 2016/12/09 08:17:57, dcheng wrote: > Please ...
4 years ago (2016-12-12 20:56:06 UTC) #142
patriciatabor17
Coding is the most difficult part and sometimes it takes more time to fix the ...
4 years ago (2016-12-17 05:56:49 UTC) #143
dougt
Hey Dcheng, Please take another look. fwiw, I also removed all of the ScopedVector and ...
3 years, 12 months ago (2016-12-22 05:17:46 UTC) #146
dcheng
Any chance this can wait for https://codereview.chromium.org/2565913002/ to land and rebase on top of that? ...
3 years, 11 months ago (2016-12-29 09:07:18 UTC) #162
dougt
This changed a bit because of the onion soup work. dcheng, scheib, PTAL https://codereview.chromium.org/2466223002/diff/520001/content/browser/bluetooth/web_bluetooth_service_impl.cc File ...
3 years, 11 months ago (2017-01-12 19:38:16 UTC) #179
scheib
https://codereview.chromium.org/2466223002/diff/520001/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom File third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom (right): https://codereview.chromium.org/2466223002/diff/520001/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom#newcode118 third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom:118: string uuid; On 2017/01/12 19:38:16, dougt wrote: > On ...
3 years, 11 months ago (2017-01-12 23:41:36 UTC) #180
dougt
addresses scheib comments. PTAL https://codereview.chromium.org/2466223002/diff/580001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2466223002/diff/580001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode132 content/browser/bluetooth/web_bluetooth_service_impl.cc:132: std::vector<device::BluetoothRemoteGattDescriptor*> GetDescriptorsByUUID( On 2017/01/12 23:41:35, ...
3 years, 11 months ago (2017-01-13 00:16:29 UTC) #183
scheib
LGTM
3 years, 11 months ago (2017-01-13 05:26:30 UTC) #186
dcheng
https://codereview.chromium.org/2466223002/diff/520001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2466223002/diff/520001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode136 content/browser/bluetooth/web_bluetooth_service_impl.cc:136: VLOG(1) << "Looking for descriptor: " << descriptor_uuid.canonical_value(); On ...
3 years, 11 months ago (2017-01-13 09:28:42 UTC) #187
dougt
dcheng, ptal https://codereview.chromium.org/2466223002/diff/520001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2466223002/diff/520001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode139 content/browser/bluetooth/web_bluetooth_service_impl.cc:139: VLOG(1) << "Descriptor in cache: " On ...
3 years, 11 months ago (2017-01-13 20:08:04 UTC) #188
dcheng
mojo lgtm with nits https://codereview.chromium.org/2466223002/diff/620001/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp (right): https://codereview.chromium.org/2466223002/diff/620001/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp#newcode69 third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp:69: String instanceId = descriptor->instance_id; nit: ...
3 years, 11 months ago (2017-01-13 22:48:33 UTC) #189
dougt
https://codereview.chromium.org/2466223002/diff/620001/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp File third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp (right): https://codereview.chromium.org/2466223002/diff/620001/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp#newcode69 third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp:69: String instanceId = descriptor->instance_id; On 2017/01/13 22:48:33, dcheng wrote: ...
3 years, 11 months ago (2017-01-14 02:34:20 UTC) #190
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2466223002/620001
3 years, 11 months ago (2017-01-14 02:35:17 UTC) #193
commit-bot: I haz the power
Committed patchset #14 (id:620001) as https://chromium.googlesource.com/chromium/src/+/4f2237ccffefb9642173b872d4a0aafbac57f65e
3 years, 11 months ago (2017-01-14 04:15:44 UTC) #196
s.balikci23
On 2017/01/14 04:15:44, commit-bot: I haz the power wrote: > Committed patchset #14 (id:620001) as ...
3 years, 10 months ago (2017-01-25 20:04:56 UTC) #197
sehen1653
On 2017/01/25 20:04:56, s.balikci23 wrote: > On 2017/01/14 04:15:44, commit-bot: I haz the power wrote: ...
3 years, 10 months ago (2017-02-10 01:29:30 UTC) #198
melihusa2016
On 2017/02/10 01:29:30, sehen1653 wrote: > On 2017/01/25 20:04:56, s.balikci23 wrote: > > On 2017/01/14 ...
3 years, 8 months ago (2017-04-16 05:51:53 UTC) #199
melihusa2016
On 2017/02/10 01:29:30, sehen1653 wrote: > On 2017/01/25 20:04:56, s.balikci23 wrote: > > On 2017/01/14 ...
3 years, 8 months ago (2017-04-16 05:52:00 UTC) #200
melihusa2015
On 2016/12/22 05:17:46, dougt wrote: > Hey Dcheng, > > Please take another look. > ...
3 years, 6 months ago (2017-06-02 07:42:20 UTC) #201
charlie7yedi
On 2017/06/02 07:42:20, melihusa2015 wrote: > On 2016/12/22 05:17:46, dougt wrote: > > Hey Dcheng, ...
3 years, 4 months ago (2017-08-13 20:09:05 UTC) #202
charlie7yedi
3 years, 4 months ago (2017-08-13 20:13:51 UTC) #203
Message was sent while issue was closed.
On 2017/08/13 20:09:05, charlie7yedi wrote:
> On 2017/06/02 07:42:20, melihusa2015 wrote:
> > On 2016/12/22 05:17:46, dougt wrote:
> > > Hey Dcheng,
> > > 
> > > Please take another look.
> > > 
> > > fwiw, I also removed all of the ScopedVector and ScopedPtrHashMap from
> > > device/bluetooth in https://codereview.chromium.org/2567903004
> > 
> > https://insta724.com/
> 
> https://instasafari.com/

https://instasafari.com/post/BXvzfWbALNo

Powered by Google App Engine
This is Rietveld 408576698