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

Issue 10536159: Bluetooth Extension API: Add a discovery API (Closed)

Created:
8 years, 6 months ago by bryeung
Modified:
8 years, 6 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Bluetooth Extension API: Add a discovery API BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142623 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142666

Patch Set 1 #

Patch Set 2 : remove chromeos/bluetooth code #

Total comments: 3

Patch Set 3 : fix the tests #

Patch Set 4 : update to passing in event listener #

Patch Set 5 : cleanup #

Total comments: 3

Patch Set 6 : hide onDeviceDiscovered method #

Patch Set 7 : final version #

Patch Set 8 : reland #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -37 lines) Patch
M chrome/browser/chromeos/extensions/bluetooth_event_router.h View 1 chunk +12 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/extensions/bluetooth_event_router.cc View 1 2 3 4 5 2 chunks +39 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.h View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 2 3 4 5 9 chunks +66 lines, -22 lines 0 comments Download
A chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc View 1 2 3 4 5 6 7 2 chunks +49 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_event_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_event_names.cc View 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/experimental_bluetooth.idl View 1 2 3 4 5 4 chunks +25 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bryeung
8 years, 6 months ago (2012-06-14 01:07:28 UTC) #1
asargent_no_longer_on_chrome
http://codereview.chromium.org/10536159/diff/2001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc File chrome/browser/chromeos/extensions/bluetooth_event_router.cc (right): http://codereview.chromium.org/10536159/diff/2001/chrome/browser/chromeos/extensions/bluetooth_event_router.cc#newcode101 chrome/browser/chromeos/extensions/bluetooth_event_router.cc:101: profile_->GetExtensionEventRouter()->DispatchEventToRenderers( If I have 2 platform apps installed that ...
8 years, 6 months ago (2012-06-14 18:23:55 UTC) #2
bryeung
Passing the event listener is actually how I wanted to do this, but I made ...
8 years, 6 months ago (2012-06-14 19:06:44 UTC) #3
bryeung
I haven't been able to test this yet (my build for my chromebook crashes at ...
8 years, 6 months ago (2012-06-15 06:52:07 UTC) #4
asargent_no_longer_on_chrome
http://codereview.chromium.org/10536159/diff/5017/chrome/browser/chromeos/extensions/bluetooth_event_router.cc File chrome/browser/chromeos/extensions/bluetooth_event_router.cc (right): http://codereview.chromium.org/10536159/diff/5017/chrome/browser/chromeos/extensions/bluetooth_event_router.cc#newcode102 chrome/browser/chromeos/extensions/bluetooth_event_router.cc:102: profile_->GetExtensionEventRouter()->DispatchEventToRenderers( In thinking about this a little more, it's ...
8 years, 6 months ago (2012-06-15 19:59:08 UTC) #5
asargent_no_longer_on_chrome
LGTM assuming comment about event is fixed (if for some reason that proves difficult, I ...
8 years, 6 months ago (2012-06-15 20:19:24 UTC) #6
bryeung
The suggestion to hide the event worked like a charm, and I've been able to ...
8 years, 6 months ago (2012-06-16 22:20:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10536159/11002
8 years, 6 months ago (2012-06-16 22:22:43 UTC) #8
commit-bot: I haz the power
8 years, 6 months ago (2012-06-17 01:00:38 UTC) #9
Change committed as 142623

Powered by Google App Engine
This is Rietveld 408576698