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

Issue 13927010: Bluetooth: implement BlueZ 5 backend for Chrome OS (Closed)

Created:
7 years, 8 months ago by keybuk
Modified:
7 years, 8 months ago
CC:
deymo, chromium-reviews, rginda+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Bluetooth: implement BlueZ 5 backend for Chrome OS Provides an implementation for adapter control, device discovery, pairing, connection, disconnection and unpairing using the BlueZ 5.x backend on Chrome OS. Uses Fake* classes for testing instead of Mocks. TBR=youngki@chromium.org BUG=220951 TEST=device_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194760

Patch Set 1 #

Total comments: 86

Patch Set 2 : Addressed review comments #

Total comments: 14

Patch Set 3 : more review fixes #

Total comments: 2

Patch Set 4 : BlueZ includes the enter key in keypresses, so do that in the fake too #

Patch Set 5 : fix review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4954 lines, -389 lines) Patch
M chromeos/chromeos.gyp View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_adapter_client.cc View 3 chunks +2 lines, -120 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_agent_manager_client.cc View 3 chunks +2 lines, -36 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_agent_service_provider.cc View 3 chunks +2 lines, -14 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_device_client.cc View 3 chunks +2 lines, -154 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_profile_manager_client.cc View 3 chunks +2 lines, -28 lines 0 comments Download
M chromeos/dbus/experimental_bluetooth_profile_service_provider.cc View 3 chunks +2 lines, -14 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_adapter_client.h View 1 1 chunk +93 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_adapter_client.cc View 1 1 chunk +258 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_agent_manager_client.h View 1 chunk +58 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_agent_manager_client.cc View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_agent_service_provider.h View 1 chunk +69 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_agent_service_provider.cc View 1 chunk +105 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_device_client.h View 1 1 chunk +188 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_device_client.cc View 1 2 3 1 chunk +807 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_profile_manager_client.h View 1 chunk +41 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_profile_manager_client.cc View 1 chunk +41 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_profile_service_provider.h View 1 1 chunk +54 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_profile_service_provider.cc View 1 chunk +51 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager_without_gmock.h View 3 chunks +26 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc View 3 chunks +14 lines, -9 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_experimental_chromeos.h View 1 2 3 chunks +65 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_experimental_chromeos.cc View 1 3 chunks +322 lines, -13 lines 0 comments Download
A device/bluetooth/bluetooth_device_experimental_chromeos.h View 1 1 chunk +200 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_device_experimental_chromeos.cc View 1 2 3 4 1 chunk +609 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_experimental_chromeos_unittest.cc View 1 2 1 chunk +1848 lines, -0 lines 0 comments Download
M device/device.gyp View 1 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
keybuk
satorux: for chromeos/ OWNERS youngki: for device/bluetooth/ OWNERS haruki: please see if you're happy with ...
7 years, 8 months ago (2013-04-16 00:57:04 UTC) #1
Haruki Sato
Thank you for the helpful change! I did only some sanity review and the fakes ...
7 years, 8 months ago (2013-04-16 04:59:45 UTC) #2
satorux1
https://codereview.chromium.org/13927010/diff/1/chromeos/dbus/fake_bluetooth_profile_service_provider.h File chromeos/dbus/fake_bluetooth_profile_service_provider.h (right): https://codereview.chromium.org/13927010/diff/1/chromeos/dbus/fake_bluetooth_profile_service_provider.h#newcode25 chromeos/dbus/fake_bluetooth_profile_service_provider.h:25: Delegate *delegate); nit: indent https://codereview.chromium.org/13927010/diff/1/device/bluetooth/bluetooth_adapter_experimental_chromeos.cc File device/bluetooth/bluetooth_adapter_experimental_chromeos.cc (right): https://codereview.chromium.org/13927010/diff/1/device/bluetooth/bluetooth_adapter_experimental_chromeos.cc#newcode168 ...
7 years, 8 months ago (2013-04-16 06:30:45 UTC) #3
youngki
will take a look at the test later. https://chromiumcodereview.appspot.com/13927010/diff/1/device/bluetooth/bluetooth_adapter_experimental_chromeos.cc File device/bluetooth/bluetooth_adapter_experimental_chromeos.cc (right): https://chromiumcodereview.appspot.com/13927010/diff/1/device/bluetooth/bluetooth_adapter_experimental_chromeos.cc#newcode91 device/bluetooth/bluetooth_adapter_experimental_chromeos.cc:91: if ...
7 years, 8 months ago (2013-04-16 15:26:56 UTC) #4
keybuk
https://codereview.chromium.org/13927010/diff/1/chromeos/dbus/fake_bluetooth_adapter_client.cc File chromeos/dbus/fake_bluetooth_adapter_client.cc (right): https://codereview.chromium.org/13927010/diff/1/chromeos/dbus/fake_bluetooth_adapter_client.cc#newcode25 chromeos/dbus/fake_bluetooth_adapter_client.cc:25: const dbus::ObjectPath FakeBluetoothAdapterClient::kAdapterPath( On 2013/04/16 04:59:45, Haruki Sato wrote: ...
7 years, 8 months ago (2013-04-16 23:19:13 UTC) #5
keybuk
ptal
7 years, 8 months ago (2013-04-16 23:21:45 UTC) #6
Haruki Sato
https://codereview.chromium.org/13927010/diff/13001/chromeos/dbus/fake_bluetooth_agent_manager_client.cc File chromeos/dbus/fake_bluetooth_agent_manager_client.cc (right): https://codereview.chromium.org/13927010/diff/13001/chromeos/dbus/fake_bluetooth_agent_manager_client.cc#newcode76 chromeos/dbus/fake_bluetooth_agent_manager_client.cc:76: Extra blank line?
7 years, 8 months ago (2013-04-17 14:46:11 UTC) #7
youngki
https://chromiumcodereview.appspot.com/13927010/diff/13001/chromeos/dbus/fake_bluetooth_device_client.cc File chromeos/dbus/fake_bluetooth_device_client.cc (right): https://chromiumcodereview.appspot.com/13927010/diff/13001/chromeos/dbus/fake_bluetooth_device_client.cc#newcode294 chromeos/dbus/fake_bluetooth_device_client.cc:294: MessageLoop::current()->PostDelayedTask( I suggest we use base::SequencedTaskRunner instead of MessageLoop::current(). ...
7 years, 8 months ago (2013-04-17 16:23:45 UTC) #8
keybuk
https://codereview.chromium.org/13927010/diff/13001/chromeos/dbus/fake_bluetooth_agent_manager_client.cc File chromeos/dbus/fake_bluetooth_agent_manager_client.cc (right): https://codereview.chromium.org/13927010/diff/13001/chromeos/dbus/fake_bluetooth_agent_manager_client.cc#newcode76 chromeos/dbus/fake_bluetooth_agent_manager_client.cc:76: On 2013/04/17 14:46:11, Haruki Sato wrote: > Extra blank ...
7 years, 8 months ago (2013-04-17 17:46:31 UTC) #9
satorux1
LGTM with a nit. https://codereview.chromium.org/13927010/diff/30001/device/bluetooth/bluetooth_device_experimental_chromeos.cc File device/bluetooth/bluetooth_device_experimental_chromeos.cc (right): https://codereview.chromium.org/13927010/diff/30001/device/bluetooth/bluetooth_device_experimental_chromeos.cc#newcode587 device/bluetooth/bluetooth_device_experimental_chromeos.cc:587: bool have_callback = false; I ...
7 years, 8 months ago (2013-04-18 00:36:28 UTC) #10
keybuk
https://codereview.chromium.org/13927010/diff/30001/device/bluetooth/bluetooth_device_experimental_chromeos.cc File device/bluetooth/bluetooth_device_experimental_chromeos.cc (right): https://codereview.chromium.org/13927010/diff/30001/device/bluetooth/bluetooth_device_experimental_chromeos.cc#newcode587 device/bluetooth/bluetooth_device_experimental_chromeos.cc:587: bool have_callback = false; On 2013/04/18 00:36:28, satorux1 wrote: ...
7 years, 8 months ago (2013-04-18 00:40:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/13927010/32004
7 years, 8 months ago (2013-04-18 00:42:11 UTC) #12
satorux1
LGTM
7 years, 8 months ago (2013-04-18 00:42:12 UTC) #13
commit-bot: I haz the power
Change committed as 194760
7 years, 8 months ago (2013-04-18 04:41:43 UTC) #14
youngki
7 years, 8 months ago (2013-04-19 14:17:47 UTC) #15
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698