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

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)

Created:
4 years, 1 month ago by juncai
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, mlamouri+watch-content_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use new wrapper types for web_bluetooth.mojom This CL modified code to use new wrapper types for web_bluetooth.mojom. Also changed all instances of mojo::Array, mojo::String to std::vector, std::string since mojo::Array, mojo::String have been deprecated. BUG=597053 Committed: https://crrev.com/1ef7dd4b548d9ccd5e573bf053043ab79070ae08 Cr-Commit-Position: refs/heads/master@{#434892}

Patch Set 1 : use new wrapper types for web_bluetooth.mojom #

Patch Set 2 : updated HashUUID() #

Patch Set 3 : fixed layout tests #

Patch Set 4 : fixed Android build error #

Patch Set 5 : fixed laytout tests #

Patch Set 6 : updated web_bluetooth_impl.cc #

Total comments: 36

Patch Set 7 : address comments #

Total comments: 4

Patch Set 8 : address comments #

Patch Set 9 : removed redundant empty line #

Patch Set 10 : modified build files #

Patch Set 11 : merge master and resolve conflicts #

Total comments: 12

Patch Set 12 : address more comments #

Patch Set 13 : address more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -263 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/bluetooth/bluetooth_allowed_devices_map.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -4 lines 0 comments Download
M content/browser/bluetooth/bluetooth_allowed_devices_map_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +56 lines, -29 lines 0 comments Download
M content/browser/bluetooth/bluetooth_blocklist.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/bluetooth/bluetooth_blocklist.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -7 lines 0 comments Download
M content/browser/bluetooth/bluetooth_blocklist_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +75 lines, -64 lines 0 comments Download
M content/browser/bluetooth/bluetooth_device_chooser_controller.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +27 lines, -25 lines 0 comments Download
M content/browser/bluetooth/bluetooth_metrics.cc View 1 2 3 4 5 6 7 3 chunks +15 lines, -10 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.h View 1 2 3 5 6 7 8 9 10 11 2 chunks +8 lines, -8 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 19 chunks +26 lines, -28 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/bluetooth/OWNERS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_type_converters.h View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +20 lines, -15 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.h View 2 chunks +8 lines, -5 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +25 lines, -23 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M device/bluetooth/public/interfaces/uuid.typemap View 1 2 3 4 5 6 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -30 lines 0 comments Download

Messages

Total messages: 74 (60 generated)
juncai
Please take a look.
4 years, 1 month ago (2016-11-19 01:16:31 UTC) #25
ortuno
Thanks for doing this! Looks pretty good, just a couple of small things. https://codereview.chromium.org/2506813003/diff/100001/content/browser/bluetooth/bluetooth_allowed_devices_map.cc File ...
4 years, 1 month ago (2016-11-21 04:42:32 UTC) #28
juncai
https://codereview.chromium.org/2506813003/diff/100001/content/browser/bluetooth/bluetooth_allowed_devices_map.cc File content/browser/bluetooth/bluetooth_allowed_devices_map.cc (right): https://codereview.chromium.org/2506813003/diff/100001/content/browser/bluetooth/bluetooth_allowed_devices_map.cc#newcode179 content/browser/bluetooth/bluetooth_allowed_devices_map.cc:179: if (filter->services) { On 2016/11/21 04:42:31, ortuno wrote: > ...
4 years, 1 month ago (2016-11-21 21:27:05 UTC) #31
ortuno
lgtm bar the stream operator. If we can't figure out why it's causing problems then ...
4 years, 1 month ago (2016-11-22 02:32:21 UTC) #34
juncai
dcheng@chromium.org: Please review changes in //third_party/WebKit/public/BUILD.gn tedchoc@chromium.org: Please review changes in //chrome/android/BUILD.gn //content/public/android/BUILD.gn avi@chromium.org: Please ...
4 years ago (2016-11-23 20:54:23 UTC) #50
Ted C
On 2016/11/23 20:54:23, juncai wrote: > mailto:dcheng@chromium.org: Please review changes in > //third_party/WebKit/public/BUILD.gn > > ...
4 years ago (2016-11-23 21:10:11 UTC) #51
Avi (use Gerrit)
content/common/build.gn lgtm
4 years ago (2016-11-23 21:11:04 UTC) #52
dcheng
mojo lgtm with some optional nits https://codereview.chromium.org/2506813003/diff/200001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2506813003/diff/200001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode311 content/browser/bluetooth/web_bluetooth_service_impl.cc:311: std::vector<uint8_t> value) { ...
4 years ago (2016-11-24 04:56:49 UTC) #55
juncai
https://codereview.chromium.org/2506813003/diff/200001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2506813003/diff/200001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode311 content/browser/bluetooth/web_bluetooth_service_impl.cc:311: std::vector<uint8_t> value) { On 2016/11/24 04:56:49, dcheng wrote: > ...
4 years ago (2016-11-28 22:25:21 UTC) #60
dcheng
https://codereview.chromium.org/2506813003/diff/200001/content/common/bluetooth/web_bluetooth_device_id.cc File content/common/bluetooth/web_bluetooth_device_id.cc (right): https://codereview.chromium.org/2506813003/diff/200001/content/common/bluetooth/web_bluetooth_device_id.cc#newcode85 content/common/bluetooth/web_bluetooth_device_id.cc:85: const content::WebBluetoothDeviceId& device_id) { On 2016/11/28 22:25:21, juncai wrote: ...
4 years ago (2016-11-28 22:29:33 UTC) #61
juncai
https://codereview.chromium.org/2506813003/diff/200001/content/common/bluetooth/web_bluetooth_device_id.cc File content/common/bluetooth/web_bluetooth_device_id.cc (right): https://codereview.chromium.org/2506813003/diff/200001/content/common/bluetooth/web_bluetooth_device_id.cc#newcode85 content/common/bluetooth/web_bluetooth_device_id.cc:85: const content::WebBluetoothDeviceId& device_id) { On 2016/11/28 22:29:33, dcheng wrote: ...
4 years ago (2016-11-29 04:23:28 UTC) #66
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/2506813003/240001
4 years ago (2016-11-29 04:23:50 UTC) #69
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years ago (2016-11-29 04:28:50 UTC) #72
commit-bot: I haz the power
4 years ago (2016-11-29 04:31:59 UTC) #74
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/1ef7dd4b548d9ccd5e573bf053043ab79070ae08
Cr-Commit-Position: refs/heads/master@{#434892}

Powered by Google App Engine
This is Rietveld 408576698