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

Issue 1412493002: Bluetooth extension api fixes for WebUI (Closed)

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

Description

Bluetooth extension api fixes for WebUI This fixes a couple of issues in order to work with WebUI (which does not have an associated extension and may not attach have an observer which would normally instintiate an adapter). BUG=543294 Committed: https://crrev.com/43d826bb5fa1d218b6f56da410137b387df970ee Cr-Commit-Position: refs/heads/master@{#355499}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Total comments: 8

Patch Set 4 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -27 lines) Patch
M extensions/browser/api/bluetooth/bluetooth_api.cc View 2 chunks +10 lines, -10 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.h View 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.cc View 1 2 3 8 chunks +49 lines, -12 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_extension_function.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_extension_function.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_private_api.cc View 3 chunks +7 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (3 generated)
stevenjb
https://codereview.chromium.org/1412493002/diff/1/extensions/browser/api/bluetooth/bluetooth_event_router.cc File extensions/browser/api/bluetooth/bluetooth_event_router.cc (left): https://codereview.chromium.org/1412493002/diff/1/extensions/browser/api/bluetooth/bluetooth_event_router.cc#oldcode194 extensions/browser/api/bluetooth/bluetooth_event_router.cc:194: self_callback)); This could potentially generate an infinite loop if ...
5 years, 2 months ago (2015-10-15 22:13:25 UTC) #2
armansito
https://codereview.chromium.org/1412493002/diff/40001/extensions/browser/api/bluetooth/bluetooth_event_router.cc File extensions/browser/api/bluetooth/bluetooth_event_router.cc (left): https://codereview.chromium.org/1412493002/diff/40001/extensions/browser/api/bluetooth/bluetooth_event_router.cc#oldcode81 extensions/browser/api/bluetooth/bluetooth_event_router.cc:81: if (adapter != adapter_.get()) { Since you removed this ...
5 years, 2 months ago (2015-10-21 23:19:19 UTC) #3
stevenjb
Thanks for the reviews! PTAL https://codereview.chromium.org/1412493002/diff/40001/extensions/browser/api/bluetooth/bluetooth_event_router.cc File extensions/browser/api/bluetooth/bluetooth_event_router.cc (left): https://codereview.chromium.org/1412493002/diff/40001/extensions/browser/api/bluetooth/bluetooth_event_router.cc#oldcode81 extensions/browser/api/bluetooth/bluetooth_event_router.cc:81: if (adapter != adapter_.get()) ...
5 years, 2 months ago (2015-10-21 23:36:40 UTC) #5
armansito
lgtm, thanks!
5 years, 2 months ago (2015-10-21 23:39:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412493002/80001
5 years, 2 months ago (2015-10-22 05:34:59 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 2 months ago (2015-10-22 06:31:16 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 06:31:55 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/43d826bb5fa1d218b6f56da410137b387df970ee
Cr-Commit-Position: refs/heads/master@{#355499}

Powered by Google App Engine
This is Rietveld 408576698