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

Issue 1947353002: //device/bluetooth support for attribute properties and permissions. (Closed)

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

Description

//device/bluetooth support for attribute properties and permissions. This CL adds the code to //device/bluetooth to correctly hand properties and permissions. Currently characteristic permissions are inferred by BlueZ from the properties that are set. Once this is no longer the case, we'll start sending permissions to BlueZ. Currently the DBus API doesn't have support for this. R=scheib@chromium.org BUG=606853 Committed: https://crrev.com/9c75aaf50cf5fd7d86a168990109b6b62f81996f Cr-Commit-Position: refs/heads/master@{#392383}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -53 lines) Patch
M device/bluetooth/bluetooth_gatt_characteristic.h View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc View 4 chunks +40 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_local_gatt_descriptor_unittest.cc View 4 chunks +40 lines, -9 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h View 2 chunks +4 lines, -6 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h View 2 chunks +5 lines, -5 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h View 1 chunk +0 lines, -7 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc View 1 2 2 chunks +82 lines, -6 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.h View 1 chunk +5 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc View 5 chunks +57 lines, -1 line 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.h View 1 chunk +4 lines, -1 line 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc View 4 chunks +50 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (6 generated)
rkc
4 years, 7 months ago (2016-05-05 02:26:11 UTC) #1
scheib
https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc File device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc (right): https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc#newcode25 device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc:25: const std::vector<std::string> FlagsFromProperties( Add a compile time check that ...
4 years, 7 months ago (2016-05-07 01:12:45 UTC) #2
rkc
https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc File device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc (right): https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc#newcode25 device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc:25: const std::vector<std::string> FlagsFromProperties( On 2016/05/07 01:12:45, scheib wrote: > ...
4 years, 7 months ago (2016-05-07 20:27:01 UTC) #3
scheib
LGTM with: https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc File device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc (right): https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc#newcode25 device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc:25: const std::vector<std::string> FlagsFromProperties( On 2016/05/07 20:27:00, Rahul ...
4 years, 7 months ago (2016-05-08 03:29:57 UTC) #4
rkc
https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc File device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc (right): https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc#newcode25 device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc:25: const std::vector<std::string> FlagsFromProperties( On 2016/05/08 03:29:56, scheib wrote: > ...
4 years, 7 months ago (2016-05-08 22:15:30 UTC) #5
scheib
LGTM https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc File device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc (right): https://codereview.chromium.org/1947353002/diff/1/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc#newcode25 device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc:25: const std::vector<std::string> FlagsFromProperties( On 2016/05/08 22:15:30, Rahul Chaturvedi ...
4 years, 7 months ago (2016-05-08 23:43:51 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947353002/40001
4 years, 7 months ago (2016-05-09 10:07:28 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224162)
4 years, 7 months ago (2016-05-09 11:10:53 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947353002/40001
4 years, 7 months ago (2016-05-09 17:50:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947353002/40001
4 years, 7 months ago (2016-05-09 18:14:41 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-09 18:54:08 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 18:55:44 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9c75aaf50cf5fd7d86a168990109b6b62f81996f
Cr-Commit-Position: refs/heads/master@{#392383}

Powered by Google App Engine
This is Rietveld 408576698