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

Issue 1211013005: Added class BluetoothDeviceMac, returns mac device timing data (Closed)

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

Description

Recreated class BluetoothDeviceMac, now as an interface for both BluetoothClassicDeviceMac and BluetoothLowEnergyDeviceMac. BluetoothDeviceMac declares pure virtual method NSDate* GetLastUpdateTime() which is implemented distinctly by its two subclasses and used by the bluetooth adapter to remove unconnected devices after a timeout. BUG=498009 Committed: https://crrev.com/039c562fb57d67d59d784715bfa42d2120f42108 Cr-Commit-Position: refs/heads/master@{#337677}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Arman's fixes #

Patch Set 3 : adding a retain #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -15 lines) Patch
M device/bluetooth/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 chunk +2 lines, -0 lines 3 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 2 chunks +4 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.h View 2 chunks +4 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_classic_device_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
A device/bluetooth/bluetooth_device_mac.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_device_mac.mm View 1 chunk +15 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 3 chunks +8 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (10 generated)
krstnmnlsn
2nd half, with all relevant changes from the first half (1220713006) :)
5 years, 5 months ago (2015-06-30 00:45:16 UTC) #3
scheib
LGTM presuming neutral answers to these questions: https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/bluetooth_device_mac.h File device/bluetooth/bluetooth_device_mac.h (right): https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/bluetooth_device_mac.h#newcode21 device/bluetooth/bluetooth_device_mac.h:21: BluetoothDeviceMac(); I'm ...
5 years, 5 months ago (2015-06-30 16:58:18 UTC) #4
krstnmnlsn
Thanks x2 Vincent! Arman here is our solution to getting the time-since-device-last-updated on mac. I ...
5 years, 5 months ago (2015-06-30 17:39:11 UTC) #6
armansito
https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/BUILD.gn File device/bluetooth/BUILD.gn (right): https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/BUILD.gn#newcode59 device/bluetooth/BUILD.gn:59: "bluetooth_device_mac.mm", Swap the order (.mm first, followed by .h) ...
5 years, 5 months ago (2015-06-30 20:44:39 UTC) #7
krstnmnlsn
Thanks Arman! https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/BUILD.gn File device/bluetooth/BUILD.gn (right): https://codereview.chromium.org/1211013005/diff/20001/device/bluetooth/BUILD.gn#newcode59 device/bluetooth/BUILD.gn:59: "bluetooth_device_mac.mm", On 2015/06/30 20:44:39, armansito wrote: > ...
5 years, 5 months ago (2015-07-01 17:37:16 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211013005/80001
5 years, 5 months ago (2015-07-07 17:25:15 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-07 18:17:13 UTC) #14
armansito
lgtm with nit https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp File device/bluetooth/bluetooth.gyp (right): https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp#newcode57 device/bluetooth/bluetooth.gyp:57: 'bluetooth_device_mac.h', I realize now that this ...
5 years, 5 months ago (2015-07-07 19:10:15 UTC) #15
krstnmnlsn
Thanks! https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp File device/bluetooth/bluetooth.gyp (right): https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp#newcode57 device/bluetooth/bluetooth.gyp:57: 'bluetooth_device_mac.h', On 2015/07/07 19:10:15, armansito wrote: > I ...
5 years, 5 months ago (2015-07-07 20:03:31 UTC) #16
krstnmnlsn
https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp File device/bluetooth/bluetooth.gyp (right): https://codereview.chromium.org/1211013005/diff/80001/device/bluetooth/bluetooth.gyp#newcode57 device/bluetooth/bluetooth.gyp:57: 'bluetooth_device_mac.h', On 2015/07/07 20:03:31, krstnmnlsn wrote: > On 2015/07/07 ...
5 years, 5 months ago (2015-07-07 20:13:06 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211013005/80001
5 years, 5 months ago (2015-07-07 20:15:34 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 5 months ago (2015-07-07 20:19:38 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 20:20:26 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/039c562fb57d67d59d784715bfa42d2120f42108
Cr-Commit-Position: refs/heads/master@{#337677}

Powered by Google App Engine
This is Rietveld 408576698