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

Issue 2354933003: arc: bluetooth: Clean up arc_bluetooth_bridge (Closed)

Created:
4 years, 3 months ago by puthik_chromium
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: bluetooth: Clean up arc_bluetooth_bridge - Remove BluetoothAdadpter::Observer::AdapterPoweredChanged as Chrome to Android BT enable/disable are implemented in ArcIntentHelperBridge instead. - Mark SetRemoteDeviceProperty() as unsupported API. - Add 120 seconds timeout to Bluetooth Device scans. - Add missing implementation in GetAdapterProperty. BUG=646584 TEST=Unit test and CTS passed on minnie. Committed: https://crrev.com/d14e966090ffb39319f6baeb364426a00b5ede7b Cr-Commit-Position: refs/heads/master@{#420460}

Patch Set 1 #

Patch Set 2 : Fix rebase #

Total comments: 4

Patch Set 3 : fix #2 nit #

Total comments: 2

Patch Set 4 : Add more comment #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -75 lines) Patch
M components/arc/bluetooth/arc_bluetooth_bridge.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 3 4 8 chunks +44 lines, -65 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc View 1 2 3 4 5 chunks +38 lines, -5 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_device_client.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
puthik_chromium
This is multiple small clean ups group together in 1 CL. I will submit bigger ...
4 years, 3 months ago (2016-09-20 20:17:26 UTC) #2
Luis Héctor Chávez
https://codereview.chromium.org/2354933003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2354933003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode85 components/arc/bluetooth/arc_bluetooth_bridge.cc:85: constexpr uint32_t kDiscoveryTimeout = 120; nit: base::TimeDelta::FromSeconds() is constexpr, ...
4 years, 3 months ago (2016-09-20 20:23:11 UTC) #3
puthik_chromium
https://codereview.chromium.org/2354933003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2354933003/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode85 components/arc/bluetooth/arc_bluetooth_bridge.cc:85: constexpr uint32_t kDiscoveryTimeout = 120; On 2016/09/20 20:23:11, Luis ...
4 years, 3 months ago (2016-09-20 20:55:39 UTC) #4
Luis Héctor Chávez
lgtm
4 years, 3 months ago (2016-09-21 15:18:37 UTC) #5
Rahul Chaturvedi
lgtm % nit https://codereview.chromium.org/2354933003/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2354933003/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode85 components/arc/bluetooth/arc_bluetooth_bridge.cc:85: constexpr base::TimeDelta kDiscoveryTimeout = base::TimeDelta::FromSeconds(120); Mention ...
4 years, 3 months ago (2016-09-21 22:40:26 UTC) #6
puthik_chromium
https://codereview.chromium.org/2354933003/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2354933003/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode85 components/arc/bluetooth/arc_bluetooth_bridge.cc:85: constexpr base::TimeDelta kDiscoveryTimeout = base::TimeDelta::FromSeconds(120); On 2016/09/21 22:40:26, Rahul ...
4 years, 3 months ago (2016-09-22 00:26:55 UTC) #7
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/2354933003/60001
4 years, 3 months ago (2016-09-22 20:38:26 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-22 21:23:53 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 21:25:40 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d14e966090ffb39319f6baeb364426a00b5ede7b
Cr-Commit-Position: refs/heads/master@{#420460}

Powered by Google App Engine
This is Rietveld 408576698