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 2102093003: Implement BluetoothDeviceBlueZ::GetServiceRecords. (Closed)

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

Description

Implement BluetoothDeviceBlueZ::GetServiceRecords. This CL adds the implementation and tests for GetServiceRecords. The DBus API used here is out for review at, https://chromium-review.googlesource.com/#/c/354473/ R=mcchou@chromium.org, xiyuan@chromium.org BUG=619699 Committed: https://crrev.com/004c048627a230d2a77505473892a4388c38376f Cr-Commit-Position: refs/heads/master@{#403324}

Patch Set 1 #

Total comments: 19

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -76 lines) Patch
M device/bluetooth/bluez/bluetooth_device_bluez.h View 1 5 chunks +14 lines, -2 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.cc View 2 chunks +22 lines, -4 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluez/bluetooth_service_record_bluez.h View 2 chunks +6 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_service_record_bluez.cc View 2 chunks +13 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_service_record_bluez_unittest.cc View 1 5 chunks +73 lines, -40 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_device_client.h View 1 5 chunks +25 lines, -12 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_device_client.cc View 1 4 chunks +182 lines, -0 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_device_client.h View 2 chunks +4 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_device_client.cc View 1 6 chunks +51 lines, -4 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_bluez.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
rkc
4 years, 5 months ago (2016-06-29 03:29:51 UTC) #1
xiyuan
https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_device_bluez.h File device/bluetooth/bluez/bluetooth_device_bluez.h (right): https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_device_bluez.h#newcode47 device/bluetooth/bluez/bluetooth_device_bluez.h:47: base::Callback<void(std::vector<BluetoothServiceRecordBlueZ>)>; std::vector<...>&, passing vector by value feels inefficient. https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.cc ...
4 years, 5 months ago (2016-06-29 22:43:08 UTC) #2
Miao
https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.h File device/bluetooth/bluez/bluetooth_service_record_bluez.h (right): https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.h#newcode35 device/bluetooth/bluez/bluetooth_service_record_bluez.h:35: BluetoothServiceRecordBlueZ(); Can we also keep the constructor taking attributes ...
4 years, 5 months ago (2016-06-30 04:55:59 UTC) #3
rkc
https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_device_bluez.h File device/bluetooth/bluez/bluetooth_device_bluez.h (right): https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_device_bluez.h#newcode47 device/bluetooth/bluez/bluetooth_device_bluez.h:47: base::Callback<void(std::vector<BluetoothServiceRecordBlueZ>)>; On 2016/06/29 22:43:08, xiyuan wrote: > std::vector<...>&, passing ...
4 years, 5 months ago (2016-06-30 20:02:24 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.cc File device/bluetooth/bluez/bluetooth_service_record_bluez.cc (right): https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.cc#newcode43 device/bluetooth/bluez/bluetooth_service_record_bluez.cc:43: attributes_.erase(it); On 2016/06/30 20:02:24, rkc wrote: > On ...
4 years, 5 months ago (2016-06-30 20:07:34 UTC) #5
rkc
https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.cc File device/bluetooth/bluez/bluetooth_service_record_bluez.cc (right): https://codereview.chromium.org/2102093003/diff/1/device/bluetooth/bluez/bluetooth_service_record_bluez.cc#newcode44 device/bluetooth/bluez/bluetooth_service_record_bluez.cc:44: attributes_.insert( On 2016/06/30 20:07:34, xiyuan wrote: > nit: could ...
4 years, 5 months ago (2016-06-30 20:15:55 UTC) #6
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/2102093003/20001
4 years, 5 months ago (2016-06-30 20:16:51 UTC) #8
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/210785)
4 years, 5 months ago (2016-06-30 20:26:50 UTC) #10
ortuno
device/bluetooth/test/bluetooth_test_bluez.cc lgtm, didn't look at the rest.
4 years, 5 months ago (2016-06-30 20:37:53 UTC) #12
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/2102093003/20001
4 years, 5 months ago (2016-06-30 20:39:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/255807)
4 years, 5 months ago (2016-06-30 21:33:57 UTC) #16
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/2102093003/20001
4 years, 5 months ago (2016-06-30 21:39:51 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-30 23:07:18 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 23:07:23 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 23:09:23 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/004c048627a230d2a77505473892a4388c38376f
Cr-Commit-Position: refs/heads/master@{#403324}

Powered by Google App Engine
This is Rietveld 408576698