Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Issue 246883003: Introduce chrome.bluetoothSocket API. (Closed)

Created:
6 years, 8 months ago by keybuk
Modified:
6 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, jar (doing other things), asvitkine+watch_chromium.org, extensions-reviews_chromium.org, Tim Song
Visibility:
Public.

Description

Introduce chrome.bluetoothSocket API. This CL adds the initial function and object type definitions of the chrome.bluetoothSocket API. This API will replace the socket-related functions in the existing chrome.bluetooth API and is intended to supply the Bluetooth Classic complement to the chrome.bluetoothLowEnergy API. Unlike the sockets API, there is no separation of client and server because such separation is not clearly defined in Bluetooth profiles either. It will not be uncommon for an application to attempt to make a connection, and if it fails, fall back to listening instead, for example. All functions currently return an error when invoked. BUG=349475, 364581 TBR=mkearney Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266362

Patch Set 1 #

Patch Set 2 : fix ambiguity of listen functions #

Total comments: 20

Patch Set 3 : review comments #

Patch Set 4 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -4 lines) Patch
A + chrome/browser/extensions/api/bluetooth_socket/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
A chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h View 1 2 1 chunk +160 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc View 1 2 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/bluetooth_socket.idl View 1 2 1 chunk +343 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/bluetoothSocket.html View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
keybuk
rpaquay, armansito: for /bluetooth/ mkearney: for /docs/ miket, kalman: for /api/ The intent here is ...
6 years, 8 months ago (2014-04-22 13:01:13 UTC) #1
rpaquay
lgtm with nits. https://codereview.chromium.org/246883003/diff/10001/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc File chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc (right): https://codereview.chromium.org/246883003/diff/10001/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc#newcode1 chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc:1: // Copyright (c) 2012 The Chromium ...
6 years, 8 months ago (2014-04-22 15:47:55 UTC) #2
not at google - send to devlin
you've added all the right files and made the right changes. I didn't look at ...
6 years, 8 months ago (2014-04-22 17:26:59 UTC) #3
armansito
lgtm with one nit. https://codereview.chromium.org/246883003/diff/10001/chrome/common/extensions/api/bluetooth_socket.idl File chrome/common/extensions/api/bluetooth_socket.idl (right): https://codereview.chromium.org/246883003/diff/10001/chrome/common/extensions/api/bluetooth_socket.idl#newcode96 chrome/common/extensions/api/bluetooth_socket.idl:96: // mode data, or whether ...
6 years, 8 months ago (2014-04-22 20:13:04 UTC) #4
miket_OOO
LGTM, please resolve kalman's questions https://codereview.chromium.org/246883003/diff/10001/chrome/common/extensions/api/bluetooth_socket.idl File chrome/common/extensions/api/bluetooth_socket.idl (right): https://codereview.chromium.org/246883003/diff/10001/chrome/common/extensions/api/bluetooth_socket.idl#newcode230 chrome/common/extensions/api/bluetooth_socket.idl:230: // depends on the ...
6 years, 8 months ago (2014-04-22 20:18:16 UTC) #5
keybuk
https://codereview.chromium.org/246883003/diff/10001/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc File chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc (right): https://codereview.chromium.org/246883003/diff/10001/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc#newcode1 chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 8 months ago (2014-04-24 11:46:45 UTC) #6
not at google - send to devlin
lgtm
6 years, 8 months ago (2014-04-25 16:43:38 UTC) #7
keybuk
The CQ bit was checked by [email protected]
6 years, 8 months ago (2014-04-25 16:45:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/246883003/50001
6 years, 8 months ago (2014-04-25 22:15:45 UTC) #9
Ilya Sherman
histograms lgtm, btw
6 years, 8 months ago (2014-04-25 22:59:23 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-26 10:32:37 UTC) #11
Message was sent while issue was closed.
Change committed as 266362

Powered by Google App Engine
This is Rietveld 408576698