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

Issue 10007008: Add support for creating bluetooth RFCOMM sockets. (Closed)

Created:
8 years, 8 months ago by bryeung
Modified:
8 years, 8 months ago
Reviewers:
keybuk
CC:
chromium-reviews, Aaron Boodman, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, mihaip+watch_chromium.org
Visibility:
Public.

Description

Add support for creating bluetooth RFCOMM sockets. BUG=119473 TEST=added some unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133485

Patch Set 1 #

Patch Set 2 : adding disconnect #

Total comments: 12

Patch Set 3 : take 2 #

Patch Set 4 : reupload off of proper base #

Total comments: 28

Patch Set 5 : review comments #

Patch Set 6 : removed line that enables phone support #

Patch Set 7 : remove extensions code #

Total comments: 8

Patch Set 8 : review comments #

Patch Set 9 : rebase diff to exclude extensions code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -10 lines) Patch
M chrome/browser/chromeos/bluetooth/bluetooth_device.h View 1 2 3 4 5 6 7 4 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/bluetooth/bluetooth_device.cc View 1 2 3 4 5 6 7 8 3 chunks +45 lines, -1 line 0 comments Download
M chrome/browser/chromeos/bluetooth/bluetooth_service_record.h View 1 2 3 4 5 6 7 2 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/chromeos/bluetooth/bluetooth_service_record.cc View 1 2 3 4 5 6 7 2 chunks +57 lines, -8 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_service_record_unittest.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_socket.h View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_socket.cc View 1 2 3 4 5 6 7 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_utils.h View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_utils.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/bluetooth/bluetooth_utils_unittest.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/bluetooth/rfcomm.xml View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
bryeung
Scott: have you had a chance to look at this?
8 years, 8 months ago (2012-04-11 21:33:10 UTC) #1
keybuk
https://chromiumcodereview.appspot.com/10007008/diff/2001/chrome/browser/chromeos/bluetooth/bluetooth_device.cc File chrome/browser/chromeos/bluetooth/bluetooth_device.cc (right): https://chromiumcodereview.appspot.com/10007008/diff/2001/chrome/browser/chromeos/bluetooth/bluetooth_device.cc#newcode417 chrome/browser/chromeos/bluetooth/bluetooth_device.cc:417: delete socket; Could this be encapsulated as simply dropping ...
8 years, 8 months ago (2012-04-16 22:25:36 UTC) #2
bryeung
ptal This isn't done yet, but I'd like to get some more early feedback. The ...
8 years, 8 months ago (2012-04-18 20:30:31 UTC) #3
keybuk
http://codereview.chromium.org/10007008/diff/10001/chrome/browser/chromeos/bluetooth/bluetooth_device.cc File chrome/browser/chromeos/bluetooth/bluetooth_device.cc (right): http://codereview.chromium.org/10007008/diff/10001/chrome/browser/chromeos/bluetooth/bluetooth_device.cc#newcode470 chrome/browser/chromeos/bluetooth/bluetooth_device.cc:470: // TODO(bryeung): add support for L2CAP sockets as well. ...
8 years, 8 months ago (2012-04-19 01:05:39 UTC) #4
keybuk
if strtoba is the only thing from libbluetooth we're using, that can be hand-reimplemented easily ...
8 years, 8 months ago (2012-04-19 01:06:07 UTC) #5
bryeung
Yes: sorry. I updated this CL before we finished iterating on the previous one. I'll ...
8 years, 8 months ago (2012-04-19 01:09:17 UTC) #6
keybuk
NP :) thanks for your work on this, it's great to be getting this in ...
8 years, 8 months ago (2012-04-19 01:10:40 UTC) #7
bryeung
Got a bit distracted cleaning this up and adding some unit tests. I think it's ...
8 years, 8 months ago (2012-04-19 19:42:43 UTC) #8
keybuk
almost there! the use of a BluetoothServiceRecord as the arg to BluetoothSocket::CreateSocket is perfect http://codereview.chromium.org/10007008/diff/23001/chrome/browser/chromeos/bluetooth/bluetooth_device.h ...
8 years, 8 months ago (2012-04-19 23:30:11 UTC) #9
bryeung
http://codereview.chromium.org/10007008/diff/23001/chrome/browser/chromeos/bluetooth/bluetooth_device.h File chrome/browser/chromeos/bluetooth/bluetooth_device.h (right): http://codereview.chromium.org/10007008/diff/23001/chrome/browser/chromeos/bluetooth/bluetooth_device.h#newcode348 chrome/browser/chromeos/bluetooth/bluetooth_device.h:348: uint8_t channel); On 2012/04/19 23:30:11, keybuk wrote: > OpenSocket ...
8 years, 8 months ago (2012-04-20 00:17:56 UTC) #10
keybuk
lgtm
8 years, 8 months ago (2012-04-20 00:25:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10007008/28002
8 years, 8 months ago (2012-04-20 00:29:44 UTC) #12
commit-bot: I haz the power
Try job failure for 10007008-28002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-20 00:59:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10007008/28002
8 years, 8 months ago (2012-04-20 23:36:31 UTC) #14
commit-bot: I haz the power
Try job failure for 10007008-28002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-21 00:06:20 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10007008/28002
8 years, 8 months ago (2012-04-21 10:35:40 UTC) #16
bryeung
Ugh: sorry for all the spam guys. I'm still working with the troopers to get ...
8 years, 8 months ago (2012-04-21 10:46:45 UTC) #17
commit-bot: I haz the power
Try job failure for 10007008-28002 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-21 13:37:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10007008/28002
8 years, 8 months ago (2012-04-21 17:51:31 UTC) #19
commit-bot: I haz the power
Try job failure for 10007008-28002 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-21 20:06:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10007008/28002
8 years, 8 months ago (2012-04-23 17:15:01 UTC) #21
commit-bot: I haz the power
8 years, 8 months ago (2012-04-23 18:42:56 UTC) #22
Change committed as 133485

Powered by Google App Engine
This is Rietveld 408576698