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

Issue 2819593003: Initialize BlueZ in app_shell on Linux (Closed)

Created:
3 years, 8 months ago by michaelpg
Modified:
3 years, 7 months ago
Reviewers:
rkc, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize BlueZ in app_shell on Linux Whitelisted Linux apps can access chrome.bluetooth. Initialize Bluetooth so we don't crash on those apps. BUG=711142 R=rkc@chromium.org,rdevlin.cronin@chromium.org Review-Url: https://codereview.chromium.org/2819593003 Cr-Commit-Position: refs/heads/master@{#469540} Committed: https://chromium.googlesource.com/chromium/src/+/f221eabf049250f2aaad03c74ec660e5e12a7b45

Patch Set 1 #

Patch Set 2 : todone #

Total comments: 9

Patch Set 3 : include #

Total comments: 10

Patch Set 4 : feedback #

Total comments: 3

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -4 lines) Patch
M extensions/browser/BUILD.gn View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A extensions/browser/api/bluetooth/bluetooth_appshell_test.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M extensions/shell/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.cc View 1 2 3 chunks +25 lines, -4 lines 0 comments Download
A extensions/test/data/api_test/bluetooth/manifest.json View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A extensions/test/data/api_test/bluetooth/runtest.js View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
michaelpg
PTAL. Devlin: What do you think about the test concept? It's just a defense against ...
3 years, 8 months ago (2017-04-14 01:07:17 UTC) #7
Devlin
https://codereview.chromium.org/2819593003/diff/20001/extensions/shell/browser/shell_browser_main_parts.cc File extensions/shell/browser/shell_browser_main_parts.cc (right): https://codereview.chromium.org/2819593003/diff/20001/extensions/shell/browser/shell_browser_main_parts.cc#newcode62 extensions/shell/browser/shell_browser_main_parts.cc:62: #include "device/bluetooth/dbus/bluez_dbus_manager.h" Put this in the ifdef above for ...
3 years, 8 months ago (2017-04-14 01:43:44 UTC) #8
michaelpg
https://codereview.chromium.org/2819593003/diff/20001/extensions/shell/browser/shell_browser_main_parts.cc File extensions/shell/browser/shell_browser_main_parts.cc (right): https://codereview.chromium.org/2819593003/diff/20001/extensions/shell/browser/shell_browser_main_parts.cc#newcode62 extensions/shell/browser/shell_browser_main_parts.cc:62: #include "device/bluetooth/dbus/bluez_dbus_manager.h" On 2017/04/14 01:43:44, Devlin wrote: > Put ...
3 years, 8 months ago (2017-04-14 03:52:58 UTC) #9
Devlin
https://codereview.chromium.org/2819593003/diff/20001/extensions/test/data/api_test/app_apis/runtest.js File extensions/test/data/api_test/app_apis/runtest.js (right): https://codereview.chromium.org/2819593003/diff/20001/extensions/test/data/api_test/app_apis/runtest.js#newcode41 extensions/test/data/api_test/app_apis/runtest.js:41: testBluetooth, On 2017/04/14 03:52:58, michaelpg wrote: > On 2017/04/14 ...
3 years, 8 months ago (2017-04-14 16:10:30 UTC) #10
michaelpg
https://codereview.chromium.org/2819593003/diff/20001/extensions/test/data/api_test/app_apis/runtest.js File extensions/test/data/api_test/app_apis/runtest.js (right): https://codereview.chromium.org/2819593003/diff/20001/extensions/test/data/api_test/app_apis/runtest.js#newcode14 extensions/test/data/api_test/app_apis/runtest.js:14: !!chrome.bluetooth, 'chrome.bluetooth should be available'); oops, will fix this ...
3 years, 8 months ago (2017-04-14 22:54:43 UTC) #11
Devlin
lgtm > I'm fine with renaming this something like bluetooth_sanity_test if you like. Yeah, I ...
3 years, 8 months ago (2017-04-17 15:04:48 UTC) #12
rkc
https://codereview.chromium.org/2819593003/diff/40001/extensions/browser/BUILD.gn File extensions/browser/BUILD.gn (right): https://codereview.chromium.org/2819593003/diff/40001/extensions/browser/BUILD.gn#newcode315 extensions/browser/BUILD.gn:315: "api/app_apis_test.cc", I presume this is only needed till crbug.com/650835 ...
3 years, 8 months ago (2017-04-17 18:42:09 UTC) #13
michaelpg
https://codereview.chromium.org/2819593003/diff/40001/extensions/browser/BUILD.gn File extensions/browser/BUILD.gn (right): https://codereview.chromium.org/2819593003/diff/40001/extensions/browser/BUILD.gn#newcode315 extensions/browser/BUILD.gn:315: "api/app_apis_test.cc", On 2017/04/17 18:42:09, rkc wrote: > I presume ...
3 years, 8 months ago (2017-04-21 20:27:01 UTC) #15
rkc
lgtm
3 years, 8 months ago (2017-04-21 20:31:25 UTC) #16
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/2819593003/100001
3 years, 7 months ago (2017-05-04 23:11:00 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 00:17:57 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f221eabf049250f2aaad03c74ec6...

Powered by Google App Engine
This is Rietveld 408576698