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

Issue 1272503002: Fixed 2 bugs so that RequestDevice() works for non-paired devices (Closed)

Created:
5 years, 4 months ago by krstnmnlsn
Modified:
5 years, 4 months ago
Reviewers:
scheib, armansito, Nico
CC:
chromium-reviews, erikwright+watch_chromium.org, scheib+watch_chromium.org, ortuno
Base URL:
https://chromium.googlesource.com/chromium/src.git@test3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Corrected the key used on |advertisement_data| in BluetoothLowEnergyDeviceMac::Update(...) so that service UUIDs are properly queried. Also stopped clearing the device's |advertised_uuids_| in Update(...) because CoreBluetooth returns the device data in separate chunks, and previous service UUIDs were being cleared before we reported them. BUG=516608 Committed: https://crrev.com/4847d81140922c2b5530e6c05ac3c1c020049c1c Cr-Commit-Position: refs/heads/master@{#342172}

Patch Set 1 #

Total comments: 2

Patch Set 2 : scheib fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M base/mac/sdk_forward_declarations.h View 2 chunks +2 lines, -0 lines 0 comments Download
M base/mac/sdk_forward_declarations.mm View 2 chunks +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 2 chunks +3 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 chunks +11 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (7 generated)
krstnmnlsn
:)
5 years, 4 months ago (2015-08-04 23:47:42 UTC) #2
scheib
LGTM with: https://codereview.chromium.org/1272503002/diff/1/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/1272503002/diff/1/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode127 device/bluetooth/bluetooth_low_energy_device_mac.mm:127: BluetoothDevice::UUIDList advertised_uuids_list; Hmm.. yep, have to either ...
5 years, 4 months ago (2015-08-05 00:04:35 UTC) #3
krstnmnlsn
Hey Arman, fixing RequestDevice()! Please review as soon as you can https://codereview.chromium.org/1272503002/diff/1/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): ...
5 years, 4 months ago (2015-08-05 16:44:09 UTC) #5
armansito
lgtm
5 years, 4 months ago (2015-08-05 22:31:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272503002/20001
5 years, 4 months ago (2015-08-06 00:28:27 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/85522)
5 years, 4 months ago (2015-08-06 00:39:51 UTC) #11
krstnmnlsn
Hey Nico here is the CL. I'm just adding 2 constants to sdk_forward_declarations because I'm ...
5 years, 4 months ago (2015-08-06 07:20:35 UTC) #13
Nico
base/ lgtm
5 years, 4 months ago (2015-08-06 16:34:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272503002/20001
5 years, 4 months ago (2015-08-06 17:28:49 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-06 19:11:56 UTC) #17
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 19:12:40 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4847d81140922c2b5530e6c05ac3c1c020049c1c
Cr-Commit-Position: refs/heads/master@{#342172}

Powered by Google App Engine
This is Rietveld 408576698