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

Issue 1861013005: bluetooth: Move GetCharacteristic(s) over to Mojo (Closed)

Created:
4 years, 8 months ago by ortuno
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, jam, mkwst+moarreviews-renderer_chromium.org, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-read-value
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Move GetCharacteristic(s) over to Mojo Instead of having to different functions to get characteristics we use the same function with a single_characteristic parameter to indicate if only one characteristic should be return. BUG=508771 Committed: https://crrev.com/b0fb6a18c3d6b4689fb848da0767a1e6c78400d5 Cr-Commit-Position: refs/heads/master@{#389966}

Patch Set 1 #

Patch Set 2 : Merge two functions #

Patch Set 3 : Moar cleanup #

Patch Set 4 : Format #

Patch Set 5 : Moar clean up #

Patch Set 6 : Merge #

Patch Set 7 : Merge #

Patch Set 8 : Merge #

Patch Set 9 : Merge #

Total comments: 31

Patch Set 10 : Address jyasskin's comments #

Patch Set 11 : Comment #

Patch Set 12 : Merge #

Patch Set 13 : Fix merge #

Patch Set 14 : Merge fix #

Total comments: 2

Patch Set 15 : Address jyasskin's comments #

Total comments: 8

Patch Set 16 : Address palmer's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -608 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +5 lines, -37 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +6 lines, -206 lines 0 comments Download
M content/browser/bluetooth/bluetooth_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +19 lines, -18 lines 0 comments Download
M content/browser/bluetooth/bluetooth_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +36 lines, -41 lines 0 comments Download
A content/browser/bluetooth/cache_query_result.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +58 lines, -0 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +25 lines, -2 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 13 14 15 12 chunks +167 lines, -31 lines 0 comments Download
M content/common/bluetooth/bluetooth_messages.h View 2 chunks +0 lines, -46 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_dispatcher.h View 1 2 4 chunks +0 lines, -38 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_dispatcher.cc View 1 2 3 5 chunks +0 lines, -131 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -4 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +35 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -2 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 13 14 2 chunks +47 lines, -33 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -8 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 13 14 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
ortuno
jyasskin: PTAL
4 years, 8 months ago (2016-04-19 23:17:26 UTC) #3
Jeffrey Yasskin
https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.h File content/browser/bluetooth/bluetooth_dispatcher_host.h (right): https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.h#newcode59 content/browser/bluetooth/bluetooth_dispatcher_host.h:59: CacheQueryResult QueryCacheForService(const url::Origin& origin, It might make sense to ...
4 years, 8 months ago (2016-04-22 01:16:38 UTC) #4
ortuno
https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.h File content/browser/bluetooth/bluetooth_dispatcher_host.h (right): https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.h#newcode59 content/browser/bluetooth/bluetooth_dispatcher_host.h:59: CacheQueryResult QueryCacheForService(const url::Origin& origin, On 2016/04/22 at 01:16:37, Jeffrey ...
4 years, 8 months ago (2016-04-25 15:29:46 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013005/220001
4 years, 8 months ago (2016-04-25 15:30:16 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/164914) ios_rel_device_gn on ...
4 years, 8 months ago (2016-04-25 15:32:30 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013005/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013005/240001
4 years, 8 months ago (2016-04-25 15:42:48 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/55826)
4 years, 8 months ago (2016-04-25 15:53:37 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013005/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013005/280001
4 years, 8 months ago (2016-04-25 16:30:15 UTC) #16
Jeffrey Yasskin
LGTM, thanks! https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode231 content/browser/bluetooth/web_bluetooth_service_impl.cc:231: : nullptr; On 2016/04/25 15:29:45, ortuno wrote: ...
4 years, 8 months ago (2016-04-25 17:26:11 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-25 17:57:50 UTC) #19
ortuno
Thanks! https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1861013005/diff/160001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode231 content/browser/bluetooth/web_bluetooth_service_impl.cc:231: : nullptr; On 2016/04/25 at 17:26:10, Jeffrey Yasskin ...
4 years, 8 months ago (2016-04-25 20:37:41 UTC) #20
ortuno
palmer: PTAL at bluetooth_messages and web_bluetooth.mojom rockot: PTAL at mojo parts i.e. web_bluetooth_service_impl.h/cc web_bluetooth_impl.h/cc web_bluetooth.mojom
4 years, 8 months ago (2016-04-25 20:40:22 UTC) #22
palmer
https://codereview.chromium.org/1861013005/diff/300001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1861013005/diff/300001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode217 content/browser/bluetooth/web_bluetooth_service_impl.cc:217: // If value is already in map, DCHECK it's ...
4 years, 8 months ago (2016-04-25 21:19:01 UTC) #23
ortuno
Thanks! https://codereview.chromium.org/1861013005/diff/300001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1861013005/diff/300001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode217 content/browser/bluetooth/web_bluetooth_service_impl.cc:217: // If value is already in map, DCHECK ...
4 years, 8 months ago (2016-04-25 22:43:23 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013005/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013005/320001
4 years, 8 months ago (2016-04-25 22:43:53 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 00:47:07 UTC) #28
Ken Rockot(use gerrit already)
lgtm
4 years, 8 months ago (2016-04-26 14:34:17 UTC) #29
palmer
lgtm
4 years, 8 months ago (2016-04-26 23:15:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013005/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013005/320001
4 years, 8 months ago (2016-04-26 23:17:00 UTC) #33
commit-bot: I haz the power
Committed patchset #16 (id:320001)
4 years, 8 months ago (2016-04-27 01:45:39 UTC) #34
commit-bot: I haz the power
4 years, 8 months ago (2016-04-27 01:46:48 UTC) #36
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/b0fb6a18c3d6b4689fb848da0767a1e6c78400d5
Cr-Commit-Position: refs/heads/master@{#389966}

Powered by Google App Engine
This is Rietveld 408576698