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

Issue 1096393002: API stubs for the BLE advertisement API. (Closed)

Created:
5 years, 8 months ago by rkc
Modified:
5 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

API stubs for the BLE advertisement API. This CL adds the IDL and manifiest changes and the stubs for the BLE advertising functions. The design doc for these changes is at http://go/chrome-ble-advertising R=armansito@chromium.org BUG=466375 Committed: https://crrev.com/e6c9c4fd0709fc3609e0e724060c22d2386146b8 Cr-Commit-Position: refs/heads/master@{#328810}

Patch Set 1 #

Total comments: 38

Patch Set 2 : #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -2 lines) Patch
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h View 1 chunk +44 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/api/_behavior_features.json View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M extensions/common/api/bluetooth/bluetooth_manifest_data.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/api/bluetooth/bluetooth_manifest_data.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/common/api/bluetooth/bluetooth_manifest_permission.h View 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/common/api/bluetooth/bluetooth_manifest_permission.cc View 1 2 3 4 5 6 4 chunks +17 lines, -2 lines 0 comments Download
M extensions/common/api/bluetooth_low_energy.idl View 1 2 3 4 5 6 7 4 chunks +66 lines, -0 lines 0 comments Download
M extensions/common/api/extensions_manifest_types.json View 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/features/behavior_feature.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/features/behavior_feature.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (11 generated)
rkc
5 years, 8 months ago (2015-04-21 18:36:32 UTC) #1
armansito
https://codereview.chromium.org/1096393002/diff/1/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/1096393002/diff/1/extensions/common/api/bluetooth_low_energy.idl#newcode21 extensions/common/api/bluetooth_low_energy.idl:21: // Result of a register advertisment call. s/advertisment/advertisement/ https://codereview.chromium.org/1096393002/diff/1/extensions/common/api/bluetooth_low_energy.idl#newcode125 ...
5 years, 8 months ago (2015-04-21 19:29:59 UTC) #2
rkc
https://codereview.chromium.org/1096393002/diff/1/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/1096393002/diff/1/extensions/common/api/bluetooth_low_energy.idl#newcode21 extensions/common/api/bluetooth_low_energy.idl:21: // Result of a register advertisment call. On 2015/04/21 ...
5 years, 8 months ago (2015-04-21 19:59:18 UTC) #3
armansito
https://codereview.chromium.org/1096393002/diff/20001/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc File extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc (right): https://codereview.chromium.org/1096393002/diff/20001/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode802 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:802: error_ = kErrorPermissionDenied; Call SendResponse(false) https://codereview.chromium.org/1096393002/diff/20001/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode819 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:819: EXTENSION_FUNCTION_VALIDATE(params.get() != ...
5 years, 8 months ago (2015-04-21 22:48:09 UTC) #4
rkc
https://codereview.chromium.org/1096393002/diff/20001/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc File extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc (right): https://codereview.chromium.org/1096393002/diff/20001/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode802 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:802: error_ = kErrorPermissionDenied; On 2015/04/21 22:48:08, armansito wrote: > ...
5 years, 8 months ago (2015-04-27 18:39:09 UTC) #5
armansito
lgtm
5 years, 8 months ago (2015-04-27 20:24:24 UTC) #6
rkc
Adding isherman@ for histograms review and scheib@ for extensions review.
5 years, 8 months ago (2015-04-27 20:30:18 UTC) #8
Ilya Sherman
Please run the script to update histograms.xml.
5 years, 8 months ago (2015-04-28 00:25:42 UTC) #9
scheib
This is looking like the right code impl, but a few things: - Design doc ...
5 years, 7 months ago (2015-04-28 17:27:25 UTC) #10
rkc
Adding Ben to the review. Also, it was decided over the API review doc that ...
5 years, 7 months ago (2015-05-05 17:47:21 UTC) #12
rkc
ping
5 years, 7 months ago (2015-05-06 19:02:53 UTC) #13
not at google - send to devlin
Where is the whitelist check? https://codereview.chromium.org/1096393002/diff/60001/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/1096393002/diff/60001/extensions/common/api/bluetooth_low_energy.idl#newcode122 extensions/common/api/bluetooth_low_energy.idl:122: // Represents an entry ...
5 years, 7 months ago (2015-05-06 19:05:46 UTC) #14
rkc
I have a question about how to do the whitelist check. Quoting from a previous ...
5 years, 7 months ago (2015-05-06 19:08:30 UTC) #15
rkc
https://codereview.chromium.org/1096393002/diff/60001/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/1096393002/diff/60001/extensions/common/api/bluetooth_low_energy.idl#newcode122 extensions/common/api/bluetooth_low_energy.idl:122: // Represents an entry of the "Manufacturer Specific Data" ...
5 years, 7 months ago (2015-05-06 19:11:32 UTC) #16
not at google - send to devlin
On 2015/05/06 19:08:30, Rahul Chaturvedi wrote: > I have a question about how to do ...
5 years, 7 months ago (2015-05-06 19:18:43 UTC) #17
rkc
Added whitelist.
5 years, 7 months ago (2015-05-06 20:59:57 UTC) #18
not at google - send to devlin
https://codereview.chromium.org/1096393002/diff/100001/extensions/common/api/_permission_features.json File extensions/common/api/_permission_features.json (right): https://codereview.chromium.org/1096393002/diff/100001/extensions/common/api/_permission_features.json#newcode134 extensions/common/api/_permission_features.json:134: "bluetoothLowEnergy.peripheral": { This doesn't really make sense. bluetoothLowEnergy is ...
5 years, 7 months ago (2015-05-06 21:10:28 UTC) #19
rkc
https://codereview.chromium.org/1096393002/diff/100001/extensions/common/api/_permission_features.json File extensions/common/api/_permission_features.json (right): https://codereview.chromium.org/1096393002/diff/100001/extensions/common/api/_permission_features.json#newcode134 extensions/common/api/_permission_features.json:134: "bluetoothLowEnergy.peripheral": { On 2015/05/06 21:10:27, kalman wrote: > This ...
5 years, 7 months ago (2015-05-06 22:13:45 UTC) #20
not at google - send to devlin
https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/_behavior_features.json File extensions/common/api/_behavior_features.json (right): https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/_behavior_features.json#newcode21 extensions/common/api/_behavior_features.json:21: "bluetoothLowEnergy.peripheral": { just "bluetooth.peripheral"? https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/bluetooth/bluetooth_manifest_permission.cc File extensions/common/api/bluetooth/bluetooth_manifest_permission.cc (right): https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/bluetooth/bluetooth_manifest_permission.cc#newcode121 ...
5 years, 7 months ago (2015-05-06 22:16:18 UTC) #21
not at google - send to devlin
(apart from that, my part here is done - lgtm)
5 years, 7 months ago (2015-05-06 22:16:37 UTC) #22
scheib
LGTM with a few nits, please address them. https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/bluetooth_low_energy.idl#newcode309 extensions/common/api/bluetooth_low_energy.idl:309: // ...
5 years, 7 months ago (2015-05-06 23:17:41 UTC) #23
rkc
Since Ilya is OOO, adding Jesse for histogram owner's review. https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/_behavior_features.json File extensions/common/api/_behavior_features.json (right): https://codereview.chromium.org/1096393002/diff/120001/extensions/common/api/_behavior_features.json#newcode21 ...
5 years, 7 months ago (2015-05-07 17:16:28 UTC) #25
jwd
lgtm
5 years, 7 months ago (2015-05-07 17:21:04 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096393002/140001
5 years, 7 months ago (2015-05-07 17:23:25 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/50537) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-07 17:30:23 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096393002/160001
5 years, 7 months ago (2015-05-07 17:35:37 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/61865)
5 years, 7 months ago (2015-05-07 17:51:56 UTC) #36
Mark P
histograms.xml and extension_function_histogram_value.h lgtm
5 years, 7 months ago (2015-05-07 18:11:19 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096393002/160001
5 years, 7 months ago (2015-05-07 18:15:45 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-07 19:10:42 UTC) #41
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 19:11:42 UTC) #42
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e6c9c4fd0709fc3609e0e724060c22d2386146b8
Cr-Commit-Position: refs/heads/master@{#328810}

Powered by Google App Engine
This is Rietveld 408576698