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

Issue 2861533004: Implement chrome.bluetoothLowEnergy.resetAdvertising(). (Closed)

Created:
3 years, 7 months ago by Sonny Sasaka
Modified:
3 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement chrome.bluetoothLowEnergy.resetAdvertising(). chrome.bluetoothLowEnergy.resetAdvertising() works by calling BlueZ's org.bluez.LEAdvertisingManager1.ResetAdvertising. BUG=636142 Review-Url: https://codereview.chromium.org/2861533004 Cr-Commit-Position: refs/heads/master@{#483093} Committed: https://chromium.googlesource.com/chromium/src/+/72375427ef64bbe0ea05e07d0a8ade68c8c9c422

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 3 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Total comments: 2

Patch Set 4 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 5 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Total comments: 29

Patch Set 6 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 7 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Total comments: 10

Patch Set 8 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 9 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 10 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 11 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 12 : Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). #

Patch Set 13 : Move BLE extension functions away from AsyncExtensionFunction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -312 lines) Patch
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 30 chunks +54 lines, -82 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 48 chunks +113 lines, -230 lines 0 comments Download

Messages

Total messages: 44 (27 generated)
Sonny Sasaka
3 years, 7 months ago (2017-05-04 00:16:25 UTC) #7
rkc
https://codereview.chromium.org/2861533004/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/2861533004/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode1306 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:1306: if (GetAdvertisementIds()) { This is not what we want ...
3 years, 7 months ago (2017-05-19 23:44:26 UTC) #8
Sonny Sasaka
https://codereview.chromium.org/2861533004/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/2861533004/diff/1/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc#newcode1306 extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc:1306: if (GetAdvertisementIds()) { On 2017/05/19 23:44:26, rkc wrote: > ...
3 years, 6 months ago (2017-06-01 22:28:11 UTC) #10
rkc
Other than the missing test, looks fine. Please add the test and I'll re-review. https://codereview.chromium.org/2861533004/diff/40001/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h ...
3 years, 6 months ago (2017-06-13 19:02:32 UTC) #12
Sonny Sasaka
https://codereview.chromium.org/2861533004/diff/40001/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h File device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h (right): https://codereview.chromium.org/2861533004/diff/40001/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h#newcode80 device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h:80: virtual void ResetAdvertising(const dbus::ObjectPath& manager_object_path, On 2017/06/13 19:02:31, rkc ...
3 years, 6 months ago (2017-06-15 23:19:12 UTC) #13
Sonny Sasaka
On 2017/06/15 23:19:12, Sonny Sasaka wrote: > https://codereview.chromium.org/2861533004/diff/40001/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h > File device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h (right): > > https://codereview.chromium.org/2861533004/diff/40001/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.h#newcode80 ...
3 years, 6 months ago (2017-06-20 20:59:34 UTC) #14
rkc
lgtm
3 years, 6 months ago (2017-06-22 19:14:47 UTC) #15
tbarzic
https://codereview.chromium.org/2861533004/diff/80001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js (right): https://codereview.chromium.org/2861533004/diff/80001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js#newcode1 chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
3 years, 5 months ago (2017-06-27 19:04:58 UTC) #18
Sonny Sasaka
https://codereview.chromium.org/2861533004/diff/80001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js (right): https://codereview.chromium.org/2861533004/diff/80001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js#newcode1 chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
3 years, 5 months ago (2017-06-27 22:03:15 UTC) #19
tbarzic
lgtm https://codereview.chromium.org/2861533004/diff/80001/extensions/common/api/bluetooth_low_energy.idl File extensions/common/api/bluetooth_low_energy.idl (right): https://codereview.chromium.org/2861533004/diff/80001/extensions/common/api/bluetooth_low_energy.idl#newcode476 extensions/common/api/bluetooth_low_energy.idl:476: static void resetAdvertising(ResultCallback callback); On 2017/06/27 22:03:14, Sonny ...
3 years, 5 months ago (2017-06-27 22:49:13 UTC) #20
Sonny Sasaka
https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js (right): https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js#newcode8 chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js:8: manufacturerData: [{id: 321, data: [1, 2, 3]}, On 2017/06/27 ...
3 years, 5 months ago (2017-06-27 23:14:05 UTC) #21
Sonny Sasaka
asvitkine@, please take a look at the histogram/metrics part. Thanks.
3 years, 5 months ago (2017-06-27 23:15:22 UTC) #23
tbarzic
https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js (right): https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js#newcode8 chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js:8: manufacturerData: [{id: 321, data: [1, 2, 3]}, On 2017/06/27 ...
3 years, 5 months ago (2017-06-27 23:17:05 UTC) #24
Sonny Sasaka
https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js (right): https://codereview.chromium.org/2861533004/diff/120001/chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js#newcode8 chrome/test/data/extensions/api_test/bluetooth_low_energy/reset_all_advertisements/runtest.js:8: manufacturerData: [{id: 321, data: [1, 2, 3]}, On 2017/06/27 ...
3 years, 5 months ago (2017-06-27 23:21:45 UTC) #25
Alexei Svitkine (slow)
extension_function_histogram_value.h / enums.xml lgtm
3 years, 5 months ago (2017-06-28 15:22:12 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861533004/220001
3 years, 5 months ago (2017-06-28 18:59:54 UTC) #41
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 19:12:53 UTC) #44
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/72375427ef64bbe0ea05e07d0a8a...

Powered by Google App Engine
This is Rietveld 408576698