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

Issue 1052363005: Add DBus bindings for BLE Advertisement. (Closed)

Created:
5 years, 8 months ago by rkc
Modified:
5 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add DBus bindings for BLE Advertisement. This CL adds the DBus bindings needed to be able to host BLE advertisment objects and register those advertisements with BlueZ. R=armansito@chromium.org, jamuraa@chromium.org BUG=466375 Committed: https://crrev.com/3c011dd0a4d682397b7a1f3c9b786db68d7e967b Cr-Commit-Position: refs/heads/master@{#325497}

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Total comments: 48

Patch Set 3 : #

Total comments: 20

Patch Set 4 : #

Patch Set 5 : paths fix. #

Total comments: 6

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 16

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1081 lines, -0 lines) Patch
M chromeos/chromeos.gyp View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
A chromeos/dbus/bluetooth_le_advertisement_service_provider.h View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
A chromeos/dbus/bluetooth_le_advertisement_service_provider.cc View 1 2 3 4 5 6 7 1 chunk +414 lines, -0 lines 0 comments Download
A chromeos/dbus/bluetooth_le_advertising_manager_client.h View 1 2 3 1 chunk +83 lines, -0 lines 0 comments Download
A chromeos/dbus/bluetooth_le_advertising_manager_client.cc View 1 2 3 4 1 chunk +187 lines, -0 lines 1 comment Download
M chromeos/dbus/dbus_client_bundle.h View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_client_bundle.cc View 1 2 3 4 5 6 4 chunks +6 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.h View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.cc View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_le_advertising_manager_client.h View 1 2 3 4 5 6 7 1 chunk +79 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_le_advertising_manager_client.cc View 1 2 3 4 5 6 7 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
rkc
5 years, 8 months ago (2015-04-09 18:16:23 UTC) #1
armansito
First round comments. https://codereview.chromium.org/1052363005/diff/20001/chromeos/dbus/bluetooth_advertisement_manager_client.cc File chromeos/dbus/bluetooth_advertisement_manager_client.cc (right): https://codereview.chromium.org/1052363005/diff/20001/chromeos/dbus/bluetooth_advertisement_manager_client.cc#newcode16 chromeos/dbus/bluetooth_advertisement_manager_client.cc:16: // TODO(rkc): Remove these once the ...
5 years, 8 months ago (2015-04-09 22:08:33 UTC) #2
Marie Janssen
https://codereview.chromium.org/1052363005/diff/1/chromeos/dbus/bluetooth_advertisement_manager_client.cc File chromeos/dbus/bluetooth_advertisement_manager_client.cc (right): https://codereview.chromium.org/1052363005/diff/1/chromeos/dbus/bluetooth_advertisement_manager_client.cc#newcode74 chromeos/dbus/bluetooth_advertisement_manager_client.cc:74: dbus::ObjectPath(kBluetoothAdvertisementManagerServicePath)); The path is not constant here, it will ...
5 years, 8 months ago (2015-04-09 22:36:27 UTC) #3
rkc
https://codereview.chromium.org/1052363005/diff/1/chromeos/dbus/bluetooth_advertisement_manager_client.cc File chromeos/dbus/bluetooth_advertisement_manager_client.cc (right): https://codereview.chromium.org/1052363005/diff/1/chromeos/dbus/bluetooth_advertisement_manager_client.cc#newcode74 chromeos/dbus/bluetooth_advertisement_manager_client.cc:74: dbus::ObjectPath(kBluetoothAdvertisementManagerServicePath)); On 2015/04/09 22:36:27, Michael Janssen wrote: > The ...
5 years, 8 months ago (2015-04-13 19:47:47 UTC) #4
Marie Janssen
https://codereview.chromium.org/1052363005/diff/40001/chromeos/dbus/bluetooth_le_advertisement_service_provider.h File chromeos/dbus/bluetooth_le_advertisement_service_provider.h (right): https://codereview.chromium.org/1052363005/diff/40001/chromeos/dbus/bluetooth_le_advertisement_service_provider.h#newcode45 chromeos/dbus/bluetooth_le_advertisement_service_provider.h:45: // request. It may be used to perform cleanup ...
5 years, 8 months ago (2015-04-14 16:47:25 UTC) #5
rkc
https://codereview.chromium.org/1052363005/diff/40001/chromeos/dbus/bluetooth_le_advertisement_service_provider.h File chromeos/dbus/bluetooth_le_advertisement_service_provider.h (right): https://codereview.chromium.org/1052363005/diff/40001/chromeos/dbus/bluetooth_le_advertisement_service_provider.h#newcode45 chromeos/dbus/bluetooth_le_advertisement_service_provider.h:45: // request. It may be used to perform cleanup ...
5 years, 8 months ago (2015-04-14 17:54:32 UTC) #6
Marie Janssen
lgtm
5 years, 8 months ago (2015-04-15 17:46:56 UTC) #7
rkc
Adding Oshima for an owners review on dbus_*
5 years, 8 months ago (2015-04-15 19:22:27 UTC) #9
oshima
https://codereview.chromium.org/1052363005/diff/80001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc File chromeos/dbus/bluetooth_le_advertisement_service_provider.cc (right): https://codereview.chromium.org/1052363005/diff/80001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc#newcode15 chromeos/dbus/bluetooth_le_advertisement_service_provider.cc:15: #include "fake_bluetooth_le_advertisement_service_provider.h" path name looks odd https://codereview.chromium.org/1052363005/diff/80001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h File chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h ...
5 years, 8 months ago (2015-04-15 20:03:58 UTC) #10
rkc
https://codereview.chromium.org/1052363005/diff/80001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc File chromeos/dbus/bluetooth_le_advertisement_service_provider.cc (right): https://codereview.chromium.org/1052363005/diff/80001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc#newcode15 chromeos/dbus/bluetooth_le_advertisement_service_provider.cc:15: #include "fake_bluetooth_le_advertisement_service_provider.h" On 2015/04/15 20:03:57, oshima wrote: > path ...
5 years, 8 months ago (2015-04-15 20:16:17 UTC) #11
oshima
with with nits https://codereview.chromium.org/1052363005/diff/100001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h File chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h (right): https://codereview.chromium.org/1052363005/diff/100001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h#newcode1 chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h:1: // Copyright (c) 2015 The Chromium ...
5 years, 8 months ago (2015-04-15 21:17:24 UTC) #12
oshima
On 2015/04/15 21:17:24, oshima wrote: > with with nits > > https://codereview.chromium.org/1052363005/diff/100001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h > File chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h ...
5 years, 8 months ago (2015-04-15 21:57:01 UTC) #13
rkc
https://codereview.chromium.org/1052363005/diff/100001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h File chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h (right): https://codereview.chromium.org/1052363005/diff/100001/chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h#newcode1 chromeos/dbus/fake_bluetooth_le_advertisement_service_provider.h:1: // Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 8 months ago (2015-04-15 21:59:54 UTC) #14
armansito
https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc File chromeos/dbus/bluetooth_le_advertisement_service_provider.cc (right): https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc#newcode34 chromeos/dbus/bluetooth_le_advertisement_service_provider.cc:34: } Remove these https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc#newcode501 chromeos/dbus/dbus_thread_manager.cc:501: ...
5 years, 8 months ago (2015-04-15 23:56:49 UTC) #15
rkc
https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc File chromeos/dbus/bluetooth_le_advertisement_service_provider.cc (right): https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/bluetooth_le_advertisement_service_provider.cc#newcode34 chromeos/dbus/bluetooth_le_advertisement_service_provider.cc:34: } On 2015/04/15 23:56:49, armansito wrote: > Remove these ...
5 years, 8 months ago (2015-04-16 18:13:06 UTC) #16
armansito
lgtm with nits. https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc#newcode501 chromeos/dbus/dbus_thread_manager.cc:501: client.Pass(); On 2015/04/16 18:13:05, Rahul Chaturvedi ...
5 years, 8 months ago (2015-04-16 18:42:10 UTC) #17
rkc
https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/1052363005/diff/120001/chromeos/dbus/dbus_thread_manager.cc#newcode501 chromeos/dbus/dbus_thread_manager.cc:501: client.Pass(); On 2015/04/16 18:42:09, armansito wrote: > On 2015/04/16 ...
5 years, 8 months ago (2015-04-16 18:49:58 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1052363005/150001
5 years, 8 months ago (2015-04-16 18:54:28 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years, 8 months ago (2015-04-16 19:27:34 UTC) #22
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/3c011dd0a4d682397b7a1f3c9b786db68d7e967b Cr-Commit-Position: refs/heads/master@{#325497}
5 years, 8 months ago (2015-04-16 19:28:30 UTC) #23
Nikita (slow)
https://codereview.chromium.org/1052363005/diff/150001/chromeos/dbus/bluetooth_le_advertising_manager_client.cc File chromeos/dbus/bluetooth_le_advertising_manager_client.cc (right): https://codereview.chromium.org/1052363005/diff/150001/chromeos/dbus/bluetooth_le_advertising_manager_client.cc#newcode27 chromeos/dbus/bluetooth_le_advertising_manager_client.cc:27: : object_manager_(NULL), weak_ptr_factory_(this) {} Where is object_manager_ initialized though? ...
5 years, 8 months ago (2015-04-22 04:49:58 UTC) #26
Nikita (slow)
5 years, 8 months ago (2015-04-22 04:49:58 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/1052363005/diff/150001/chromeos/dbus/bluetoot...
File chromeos/dbus/bluetooth_le_advertising_manager_client.cc (right):

https://codereview.chromium.org/1052363005/diff/150001/chromeos/dbus/bluetoot...
chromeos/dbus/bluetooth_le_advertising_manager_client.cc:27: :
object_manager_(NULL), weak_ptr_factory_(this) {}
Where is object_manager_ initialized though?
There's a new crash happening on shutdown because of that
https://code.google.com/p/chromium/issues/detail?id=479430

Powered by Google App Engine
This is Rietveld 408576698