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

Issue 1132173002: Implement the advertising functions for the BLE API. (Closed)

Created:
5 years, 7 months ago by rkc
Modified:
5 years, 7 months ago
Reviewers:
scheib, armansito
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

Implement the advertising functions for the BLE API. This CL implements the RegisterAdvertisement and UnregisterAdvertisement functions for the Chrome API. BUG=466375 Committed: https://crrev.com/58666c84553ecc058af5e6d178d6d8d3f47e99c1 Cr-Commit-Position: refs/heads/master@{#330182}

Patch Set 1 #

Total comments: 24

Patch Set 2 : added tests. #

Patch Set 3 : build fixes. #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -14 lines) Patch
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/register_advertisement/manifest.json View 1 2 chunks +2 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/bluetooth_low_energy/register_advertisement/runtest.js View 1 1 chunk +38 lines, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_adapter.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
A device/bluetooth/test/mock_bluetooth_advertisement.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A device/bluetooth/test/mock_bluetooth_advertisement.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.h View 1 1 chunk +56 lines, -0 lines 0 comments Download
A extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc View 1 1 chunk +35 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h View 5 chunks +34 lines, -10 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 1 6 chunks +162 lines, -2 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/api/_behavior_features.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/extensions.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
armansito
https://codereview.chromium.org/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc File extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc (right): https://codereview.chromium.org/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc#newcode1 extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 7 months ago (2015-05-08 22:46:13 UTC) #2
armansito
https://codereview.chromium.org/1132173002/diff/1/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/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode839 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:839: BluetoothApiAdvertisement* advertisement) { DCHECK(advertisements_manager); https://codereview.chromium.org/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode845 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:845: int advertisement_id) { ...
5 years, 7 months ago (2015-05-08 23:08:19 UTC) #3
rkc
https://codereview.chromium.org/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc File extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc (right): https://codereview.chromium.org/1132173002/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc#newcode1 extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 7 months ago (2015-05-11 21:59:35 UTC) #4
armansito
lgtm
5 years, 7 months ago (2015-05-13 00:58:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132173002/20001
5 years, 7 months ago (2015-05-13 02:43:27 UTC) #7
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/63235)
5 years, 7 months ago (2015-05-13 02:50:17 UTC) #9
rkc
scheib@ PTAL for owners review for, extensions/common/api/_behavior_features.json extensions/extensions.gypi Thanks!
5 years, 7 months ago (2015-05-13 16:56:31 UTC) #11
scheib
https://codereview.chromium.org/1132173002/diff/40001/extensions/common/api/_behavior_features.json File extensions/common/api/_behavior_features.json (right): https://codereview.chromium.org/1132173002/diff/40001/extensions/common/api/_behavior_features.json#newcode28 extensions/common/api/_behavior_features.json:28: "9E287A8257E58EFB13E89C86A4B75A3AC4B058D8" // BLE test extension. From top of file: ...
5 years, 7 months ago (2015-05-13 17:08:40 UTC) #12
rkc
https://codereview.chromium.org/1132173002/diff/40001/extensions/common/api/_behavior_features.json File extensions/common/api/_behavior_features.json (right): https://codereview.chromium.org/1132173002/diff/40001/extensions/common/api/_behavior_features.json#newcode28 extensions/common/api/_behavior_features.json:28: "9E287A8257E58EFB13E89C86A4B75A3AC4B058D8" // BLE test extension. On 2015/05/13 17:08:40, scheib ...
5 years, 7 months ago (2015-05-13 17:28:13 UTC) #13
scheib
extensions/common/api/_behavior_features.json extensions/extensions.gypi LGTM
5 years, 7 months ago (2015-05-13 17:35:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132173002/40002
5 years, 7 months ago (2015-05-13 17:36:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/64418)
5 years, 7 months ago (2015-05-13 19:13:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132173002/70001
5 years, 7 months ago (2015-05-13 22:35:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/57204)
5 years, 7 months ago (2015-05-14 00:05:10 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132173002/90001
5 years, 7 months ago (2015-05-15 18:24:58 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:90001)
5 years, 7 months ago (2015-05-15 20:16:45 UTC) #28
325583992843-0clp48nf3nc7pk3ll9lp3k65k4ra53j4
Patchset 6 (id:??) landed as https://crrev.com/58666c84553ecc058af5e6d178d6d8d3f47e99c1 Cr-Commit-Position: refs/heads/master@{#330182}
5 years, 7 months ago (2015-05-16 05:29:47 UTC) #29
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:26:48 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/58666c84553ecc058af5e6d178d6d8d3f47e99c1
Cr-Commit-Position: refs/heads/master@{#330182}

Powered by Google App Engine
This is Rietveld 408576698