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

Issue 2456613002: Remove BluetoothDevice.uuids attribute from WebBluetooth (Closed)

Created:
4 years, 1 month ago by juncai
Modified:
4 years, 1 month 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, fbeaufortchromium, haraken, jam, mlamouri+watch-content_chromium.org, ortuno+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove BluetoothDevice.uuids attribute from WebBluetooth The BluetoothDevice.uuids attribute is removed from the WebBluetooth spec, this CL removes the BluetoothDevice.uuids attribute and updates related test code. It was marked Deprecated for a brief time, but because Web Bluetooth is moving out of experimental / origin trial and shipping we will make the clean break without maintaining the deprecated API in the shipped state. BUG=653317 Committed: https://crrev.com/45d0b0cfd7fe1493719a5c9e757d620b19bbf52d Cr-Commit-Position: refs/heads/master@{#427929}

Patch Set 1 : remove BluetoothDevice.uuids attribute from WebBluetooth #

Total comments: 2

Patch Set 2 : address more comment #

Total comments: 2

Patch Set 3 : address more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -66 lines) Patch
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.cc View 1 chunk +1 line, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/bluetooth/requestDevice/correct-uuids.html View 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/filter-matches.html View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.idl View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDeviceInit.h View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 38 (23 generated)
juncai
rbyers@chromium.org: Please review changes in //third_party/WebKit scheib@chromium.org: Please review changes in //content/browser/bluetooth/web_bluetooth_service_impl.cc //content/renderer/bluetooth/web_bluetooth_impl.cc //third_party/WebKit/Source/modules/bluetooth //third_party/WebKit/public/platform/modules/bluetooth
4 years, 1 month ago (2016-10-26 21:22:05 UTC) #7
scheib
LGTM
4 years, 1 month ago (2016-10-26 21:28:19 UTC) #10
Rick Byers
LGTM Who is doing the outreach to the developers signed up for the origin trial?
4 years, 1 month ago (2016-10-26 22:26:03 UTC) #12
juncai
I think fbeaufort@ was reaching out to developers who signed up for the origin trials ...
4 years, 1 month ago (2016-10-26 22:33:52 UTC) #13
ortuno
https://codereview.chromium.org/2456613002/diff/1/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2456613002/diff/1/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode787 content/browser/bluetooth/web_bluetooth_service_impl.cc:787: mojo::Array<mojo::String> filtered_uuids; Also remove this.
4 years, 1 month ago (2016-10-26 22:35:56 UTC) #15
juncai
https://codereview.chromium.org/2456613002/diff/1/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2456613002/diff/1/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode787 content/browser/bluetooth/web_bluetooth_service_impl.cc:787: mojo::Array<mojo::String> filtered_uuids; On 2016/10/26 22:35:55, ortuno wrote: > Also ...
4 years, 1 month ago (2016-10-26 22:42:32 UTC) #18
ortuno
https://codereview.chromium.org/2456613002/diff/20001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2456613002/diff/20001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode787 content/browser/bluetooth/web_bluetooth_service_impl.cc:787: for (const BluetoothUUID& uuid : device->GetUUIDs()) { Sorry I ...
4 years, 1 month ago (2016-10-26 22:44:56 UTC) #19
juncai
https://codereview.chromium.org/2456613002/diff/20001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2456613002/diff/20001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode787 content/browser/bluetooth/web_bluetooth_service_impl.cc:787: for (const BluetoothUUID& uuid : device->GetUUIDs()) { On 2016/10/26 ...
4 years, 1 month ago (2016-10-27 00:48:05 UTC) #24
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/2456613002/40001
4 years, 1 month ago (2016-10-27 00:48:57 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/290551)
4 years, 1 month ago (2016-10-27 00:59:29 UTC) #29
juncai
dcheng@chromium.org: Please review changes in third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
4 years, 1 month ago (2016-10-27 01:10:03 UTC) #31
dcheng
mojo lgtm
4 years, 1 month ago (2016-10-27 03:05:20 UTC) #32
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/2456613002/40001
4 years, 1 month ago (2016-10-27 03:40:17 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-27 03:45:59 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 03:47:46 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45d0b0cfd7fe1493719a5c9e757d620b19bbf52d
Cr-Commit-Position: refs/heads/master@{#427929}

Powered by Google App Engine
This is Rietveld 408576698