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

Issue 10823301: bluetooth: Create stub manager, adapter and device. (Closed)

Created:
8 years, 4 months ago by keybuk
Modified:
8 years, 4 months ago
Reviewers:
bryeung, satorux1, kevers
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

bluetooth: Create stub manager, adapter and device. These stub classes are used when building Chrome on Linux with chromeos=1. They allow sufficient UI to work to show a Bluetooth adapter, enable and disable it, and show an unconnected fake device associated with it. This can be trivially extended to provide all manner of fake Bluetooth information for UI development. BUG=chromium-os:28555 TEST=out/Debug/chrome Change-Id: I7af28be76355fad735389aaf2fa499d0a8dfd76b Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151621

Patch Set 1 #

Total comments: 22

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -24 lines) Patch
M chromeos/dbus/bluetooth_adapter_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/bluetooth_adapter_client.cc View 1 4 chunks +68 lines, -3 lines 0 comments Download
M chromeos/dbus/bluetooth_device_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/bluetooth_device_client.cc View 1 3 chunks +67 lines, -2 lines 0 comments Download
M chromeos/dbus/bluetooth_input_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/bluetooth_input_client.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/dbus/bluetooth_manager_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/bluetooth_manager_client.cc View 1 3 chunks +61 lines, -5 lines 0 comments Download
M chromeos/dbus/bluetooth_node_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/bluetooth_node_client.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M dbus/property.h View 1 4 chunks +16 lines, -2 lines 0 comments Download
M dbus/property.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
keybuk
satorux: please verify the dbus/ change kevers: please verify the stubs
8 years, 4 months ago (2012-08-14 00:00:07 UTC) #1
kevers
On 2012/08/14 00:00:07, keybuk wrote: > satorux: please verify the dbus/ change > kevers: please ...
8 years, 4 months ago (2012-08-14 12:59:37 UTC) #2
bryeung
lgtm just a couple of nits https://chromiumcodereview.appspot.com/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc File chromeos/dbus/bluetooth_adapter_client.cc (right): https://chromiumcodereview.appspot.com/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc#newcode743 chromeos/dbus/bluetooth_adapter_client.cc:743: VLOG(1) << "Get ...
8 years, 4 months ago (2012-08-14 13:10:29 UTC) #3
satorux1
LGTM with nits. mostly VLOG->DVLOG. http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc File chromeos/dbus/bluetooth_adapter_client.cc (right): http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc#newcode734 chromeos/dbus/bluetooth_adapter_client.cc:734: explicit Properties(PropertyChangedCallback callback) you ...
8 years, 4 months ago (2012-08-14 16:54:18 UTC) #4
keybuk
PTAL and see questions below http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc File chromeos/dbus/bluetooth_adapter_client.cc (right): http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc#newcode734 chromeos/dbus/bluetooth_adapter_client.cc:734: explicit Properties(PropertyChangedCallback callback) On ...
8 years, 4 months ago (2012-08-14 17:40:31 UTC) #5
bryeung
Thanks for the context about the logs: makes sense to me. lgtm
8 years, 4 months ago (2012-08-14 17:44:39 UTC) #6
satorux1
http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc File chromeos/dbus/bluetooth_adapter_client.cc (right): http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc#newcode743 chromeos/dbus/bluetooth_adapter_client.cc:743: VLOG(1) << "Get " << property->name(); On 2012/08/14 17:40:32, ...
8 years, 4 months ago (2012-08-14 17:52:04 UTC) #7
keybuk
http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc File chromeos/dbus/bluetooth_adapter_client.cc (right): http://codereview.chromium.org/10823301/diff/1/chromeos/dbus/bluetooth_adapter_client.cc#newcode743 chromeos/dbus/bluetooth_adapter_client.cc:743: VLOG(1) << "Get " << property->name(); UI designers don't ...
8 years, 4 months ago (2012-08-14 17:58:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/10823301/8001
8 years, 4 months ago (2012-08-14 18:10:34 UTC) #9
commit-bot: I haz the power
Try job failure for 10823301-8001 (retry) on win for step "runhooks". It's a second try, ...
8 years, 4 months ago (2012-08-14 18:23:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/10823301/8001
8 years, 4 months ago (2012-08-14 18:29:55 UTC) #11
commit-bot: I haz the power
Try job failure for 10823301-8001 (retry) on mac_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-14 20:00:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/10823301/8001
8 years, 4 months ago (2012-08-14 20:28:56 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 01:03:31 UTC) #14
Change committed as 151621

Powered by Google App Engine
This is Rietveld 408576698