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

Issue 276573004: Bluetooth: Implement new socket API for Chrome OS (Closed)

Created:
6 years, 7 months ago by keybuk
Modified:
6 years, 7 months ago
Reviewers:
armansito, rpaquay
CC:
chromium-reviews, yoshiki+watch_chromium.org, rginda+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, Ilya Sherman, Tim Song, xiyuan
Visibility:
Public.

Description

Bluetooth: Implement new socket API for Chrome OS Remove the old BluetoothProfileChromeOS implementation and instead extend BluetoothSocketChromeOS to handle making outgoing connections and accepting incoming connections through the D-Bus API. BUG=372493 TEST=device_unittests --gtest_filter=BluetoothSocketChromeOSTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270245

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fix DCHECK nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1324 lines, -1062 lines) Patch
M chromeos/dbus/bluetooth_profile_manager_client.h View 2 chunks +11 lines, -10 lines 0 comments Download
M chromeos/dbus/bluetooth_profile_manager_client.cc View 3 chunks +54 lines, -48 lines 0 comments Download
M chromeos/dbus/fake_bluetooth_profile_manager_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_chromeos.h View 4 chunks +12 lines, -12 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_chromeos.cc View 2 chunks +30 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 3 chunks +3 lines, -13 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 4 chunks +14 lines, -45 lines 0 comments Download
M device/bluetooth/bluetooth_profile.cc View 2 chunks +2 lines, -14 lines 0 comments Download
D device/bluetooth/bluetooth_profile_chromeos.h View 1 chunk +0 lines, -162 lines 0 comments Download
D device/bluetooth/bluetooth_profile_chromeos.cc View 1 chunk +0 lines, -330 lines 0 comments Download
D device/bluetooth/bluetooth_profile_chromeos_unittest.cc View 1 chunk +0 lines, -390 lines 0 comments Download
M device/bluetooth/bluetooth_socket_chromeos.h View 4 chunks +158 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_socket_chromeos.cc View 1 4 chunks +506 lines, -24 lines 0 comments Download
A device/bluetooth/bluetooth_socket_chromeos_unittest.cc View 1 chunk +516 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_socket_thread.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_socket_thread.cc View 1 chunk +13 lines, -1 line 0 comments Download
M device/device_tests.gyp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
keybuk
armansito: for /bluetooth/ rpaquay: general expert review others: FYI & extra eyes
6 years, 7 months ago (2014-05-12 23:18:44 UTC) #1
armansito
https://codereview.chromium.org/276573004/diff/1/chromeos/dbus/bluetooth_profile_manager_client.cc File chromeos/dbus/bluetooth_profile_manager_client.cc (right): https://codereview.chromium.org/276573004/diff/1/chromeos/dbus/bluetooth_profile_manager_client.cc#newcode56 chromeos/dbus/bluetooth_profile_manager_client.cc:56: if (options.name.get() != NULL) { Does it make sense ...
6 years, 7 months ago (2014-05-13 19:44:59 UTC) #2
keybuk
https://codereview.chromium.org/276573004/diff/1/chromeos/dbus/bluetooth_profile_manager_client.cc File chromeos/dbus/bluetooth_profile_manager_client.cc (right): https://codereview.chromium.org/276573004/diff/1/chromeos/dbus/bluetooth_profile_manager_client.cc#newcode56 chromeos/dbus/bluetooth_profile_manager_client.cc:56: if (options.name.get() != NULL) { On 2014/05/13 19:44:59, armansito ...
6 years, 7 months ago (2014-05-13 20:03:53 UTC) #3
armansito
lgtm
6 years, 7 months ago (2014-05-13 20:06:36 UTC) #4
keybuk
https://codereview.chromium.org/276573004/diff/1/device/bluetooth/bluetooth_socket_chromeos.cc File device/bluetooth/bluetooth_socket_chromeos.cc (right): https://codereview.chromium.org/276573004/diff/1/device/bluetooth/bluetooth_socket_chromeos.cc#newcode129 device/bluetooth/bluetooth_socket_chromeos.cc:129: DCHECK (!profile_.get()); On 2014/05/13 19:44:59, armansito wrote: > nit: ...
6 years, 7 months ago (2014-05-13 20:14:52 UTC) #5
rpaquay
lgtm
6 years, 7 months ago (2014-05-13 20:17:45 UTC) #6
keybuk
The CQ bit was checked by keybuk@chromium.org
6 years, 7 months ago (2014-05-13 20:18:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/276573004/20001
6 years, 7 months ago (2014-05-13 20:19:28 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 23:33:42 UTC) #9
Message was sent while issue was closed.
Change committed as 270245

Powered by Google App Engine
This is Rietveld 408576698