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

Issue 2249333002: Prevent peripheral mode operation from outside of Kiosk. (Closed)

Created:
4 years, 4 months ago by rkc
Modified:
4 years, 4 months ago
Reviewers:
xiyuan, ortuno
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent peripheral mode operation from outside of Kiosk. Peripheral mode is only supposed to work with auto-launched apps in a Kiosk session. This check wasn't put in the API when this was first implemented but we should fix this ASAP. R=xiyuan@chromium.org,ortuno@chromium.org BUG=638460 Committed: https://crrev.com/94e2a8816e090d944a8248ea3a4d526ffc49dd4a Cr-Commit-Position: refs/heads/master@{#412718}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -35 lines) Patch
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 3 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc View 7 chunks +40 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_flag/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_flag/runtest.js View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js View 1 1 chunk +3 lines, -8 lines 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_no_kiosk_mode/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_no_kiosk_mode/runtest.js View 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/test/data/extensions/api_test/bluetooth_low_energy/register_advertisement_kiosk_session_only/runtest.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
rkc
4 years, 4 months ago (2016-08-17 02:27:56 UTC) #1
rkc
4 years, 4 months ago (2016-08-17 02:28:41 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/2249333002/diff/1/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js (right): https://codereview.chromium.org/2249333002/diff/1/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js#newcode12 chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js:12: chrome.test.fail("Should not work outside of kiosk mode"); nit: ...
4 years, 4 months ago (2016-08-17 16:37:30 UTC) #6
rkc
https://codereview.chromium.org/2249333002/diff/1/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js File chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js (right): https://codereview.chromium.org/2249333002/diff/1/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js#newcode12 chrome/test/data/extensions/api_test/bluetooth_low_energy/create_service_kiosk_session_only/runtest.js:12: chrome.test.fail("Should not work outside of kiosk mode"); On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 23:10:15 UTC) #7
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/2249333002/20001
4 years, 4 months ago (2016-08-17 23:11:15 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-18 01:28:40 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 01:30:11 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/94e2a8816e090d944a8248ea3a4d526ffc49dd4a
Cr-Commit-Position: refs/heads/master@{#412718}

Powered by Google App Engine
This is Rietveld 408576698