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

Issue 10815072: Bluetooth API: improve discovery (Closed)

Created:
8 years, 5 months ago by bryeung
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Bluetooth API: improve discovery This CL: - eliminates unnecessary dispatches - correctly handles devices that are discovered before interest is registered TEST=ran api test BUG=133179 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150898 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151138

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments #

Total comments: 5

Patch Set 3 : review comments #

Patch Set 4 : rebase #

Patch Set 5 : rebase + docs #

Patch Set 6 : fix licenses #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -52 lines) Patch
M chrome/browser/chromeos/bluetooth/bluetooth_adapter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/bluetooth_event_router.h View 1 2 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/bluetooth_event_router.cc View 1 2 3 5 chunks +48 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 2 3 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc View 1 2 3 4 chunks +34 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/experimental_bluetooth.idl View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/apps/experimental.bluetooth.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/extensions/experimental.bluetooth.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/templates/articles/app_external.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js View 1 2 chunks +39 lines, -17 lines 0 comments Download
M chrome/test/data/extensions/api_test/bluetooth/test_discovery.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/bluetooth/test_discovery.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth/test_discovery_expectation.js View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth/test_discovery_in_progress.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth/test_discovery_in_progress_expectation.js View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
bryeung
Antony: in light of our discussion about the other Bluetooth events, I think this is ...
8 years, 5 months ago (2012-07-24 15:54:53 UTC) #1
asargent_no_longer_on_chrome
I think this should work fine, LGTM. https://chromiumcodereview.appspot.com/10815072/diff/1/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc File chrome/browser/extensions/api/bluetooth/bluetooth_api.cc (right): https://chromiumcodereview.appspot.com/10815072/diff/1/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc#newcode461 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc:461: // finished. ...
8 years, 5 months ago (2012-07-24 20:29:45 UTC) #2
bryeung
Scott: added you for OWNERS (the bluetooth_adapter mock changes) http://codereview.chromium.org/10815072/diff/1/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc File chrome/browser/extensions/api/bluetooth/bluetooth_api.cc (right): http://codereview.chromium.org/10815072/diff/1/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc#newcode461 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc:461: ...
8 years, 4 months ago (2012-08-03 20:08:37 UTC) #3
asargent_no_longer_on_chrome
changes LGTM http://codereview.chromium.org/10815072/diff/1/chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js File chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js (right): http://codereview.chromium.org/10815072/diff/1/chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js#newcode28 chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js:28: function() { I think it's fine to ...
8 years, 4 months ago (2012-08-03 23:35:23 UTC) #4
bryeung
http://codereview.chromium.org/10815072/diff/6001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc File chrome/browser/chromeos/extensions/bluetooth_event_router.cc (right): http://codereview.chromium.org/10815072/diff/6001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc#newcode164 chrome/browser/chromeos/extensions/bluetooth_event_router.cc:164: const experimental_bluetooth::Device& device) { On 2012/08/03 23:35:23, Antony Sargent ...
8 years, 4 months ago (2012-08-07 14:22:12 UTC) #5
asargent_no_longer_on_chrome
http://codereview.chromium.org/10815072/diff/6001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc File chrome/browser/chromeos/extensions/bluetooth_event_router.cc (right): http://codereview.chromium.org/10815072/diff/6001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc#newcode164 chrome/browser/chromeos/extensions/bluetooth_event_router.cc:164: const experimental_bluetooth::Device& device) { On 2012/08/07 14:22:12, bryeung wrote: ...
8 years, 4 months ago (2012-08-07 15:32:48 UTC) #6
bryeung
Scott: friendly ping for OWNERS review. Thanks.
8 years, 4 months ago (2012-08-08 14:39:20 UTC) #7
keybuk
lgtm
8 years, 4 months ago (2012-08-09 18:15:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10815072/18001
8 years, 4 months ago (2012-08-09 19:13:41 UTC) #9
commit-bot: I haz the power
Presubmit check for 10815072-18001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-09 19:14:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10815072/6006
8 years, 4 months ago (2012-08-09 19:19:16 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 20:59:06 UTC) #12
Change committed as 150898

Powered by Google App Engine
This is Rietveld 408576698