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

Issue 2228953003: bluetooth: Change GetInquiryTxPower and GetInquiryRSSI to return optional. (Closed)

Created:
4 years, 4 months ago by ortuno
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, ortuno+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@my-origin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Change GetInquiryTxPower and GetInquiryRSSI to return optional. This avoid having to share the same constant across different boundaries. BUG=508904 Committed: https://crrev.com/6182935761115cffcfe261707544bf10acdfe3f5 Cr-Commit-Position: refs/heads/master@{#411073}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Total comments: 2

Patch Set 3 : TIL value_or #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -61 lines) Patch
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 5 chunks +13 lines, -9 lines 0 comments Download
M components/arc/common/bluetooth.mojom View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.mm View 1 chunk +4 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 chunk +8 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 chunk +5 lines, -4 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_bluez_unittest.cc View 4 chunks +16 lines, -6 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.cc View 3 chunks +23 lines, -6 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_api_utils.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
ortuno
scheib: PTAL at device/
4 years, 4 months ago (2016-08-09 19:26:56 UTC) #4
scheib
https://codereview.chromium.org/2228953003/diff/1/device/bluetooth/bluetooth_device.h File device/bluetooth/bluetooth_device.h (right): https://codereview.chromium.org/2228953003/diff/1/device/bluetooth/bluetooth_device.h#newcode309 device/bluetooth/bluetooth_device.h:309: // this method will return |kUnknownPower|. Will no longer ...
4 years, 4 months ago (2016-08-09 20:39:18 UTC) #5
ortuno
Thanks! https://codereview.chromium.org/2228953003/diff/1/device/bluetooth/bluetooth_device.h File device/bluetooth/bluetooth_device.h (right): https://codereview.chromium.org/2228953003/diff/1/device/bluetooth/bluetooth_device.h#newcode309 device/bluetooth/bluetooth_device.h:309: // this method will return |kUnknownPower|. On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 22:10:40 UTC) #10
ortuno
puthik: PTAL at components/arc/
4 years, 4 months ago (2016-08-09 22:12:02 UTC) #12
puthik_chromium
component/arc lgtm. Didn't look at other code.
4 years, 4 months ago (2016-08-09 22:17:36 UTC) #13
ortuno
lhchavez: owners review for components/arc please.
4 years, 4 months ago (2016-08-09 22:18:31 UTC) #15
Luis Héctor Chávez
https://codereview.chromium.org/2228953003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2228953003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode256 components/arc/bluetooth/arc_bluetooth_bridge.cc:256: std::move(addr), rssi ? rssi.value() : mojom::kUnknownPower, can you do ...
4 years, 4 months ago (2016-08-09 22:24:33 UTC) #16
ortuno
Thanks! https://codereview.chromium.org/2228953003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2228953003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode256 components/arc/bluetooth/arc_bluetooth_bridge.cc:256: std::move(addr), rssi ? rssi.value() : mojom::kUnknownPower, On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 22:44:59 UTC) #17
Luis Héctor Chávez
components/arc/bluetooth lgtm
4 years, 4 months ago (2016-08-09 22:46:07 UTC) #18
ortuno
stevenjb: PTAL at extensions/
4 years, 4 months ago (2016-08-09 23:06:58 UTC) #20
scheib
LGTM
4 years, 4 months ago (2016-08-09 23:42:37 UTC) #21
stevenjb
RS lgtm
4 years, 4 months ago (2016-08-09 23:46:12 UTC) #22
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/2228953003/40001
4 years, 4 months ago (2016-08-10 04:32:48 UTC) #25
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/234639)
4 years, 4 months ago (2016-08-10 04:41:49 UTC) #27
ortuno
tsepez: PTAL at components/arc/common
4 years, 4 months ago (2016-08-10 14:41:56 UTC) #29
Tom Sepez
lgtm
4 years, 4 months ago (2016-08-10 17:26:25 UTC) #30
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/2228953003/40001
4 years, 4 months ago (2016-08-10 17:29:57 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 17:41:17 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 17:44:31 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6182935761115cffcfe261707544bf10acdfe3f5
Cr-Commit-Position: refs/heads/master@{#411073}

Powered by Google App Engine
This is Rietveld 408576698