Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Issue 2370373002: Move chrome.bluetoothLowEnergy out of //chrome. (Closed)

Created:
4 years, 2 months ago by Rahul Chaturvedi
Modified:
3 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org, trchen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move chrome.bluetoothLowEnergy out of //chrome. This CL moves the Bluetooth Low Energy API out of //chrome and into //extensions. This will allow us to use this API from AppShell. This CL also adds the Kiosk Delegate. On Chrome, this delegate will mostly have stubbed functionality but the delegate does need to exist on all platforms. This is because AppShell is not restricted only to Chrome OS so the API will need to be compiled for multiple platforms, whether it is compiling under a Chrome build or an AppShell build. Moving the tests will be fairly complicated due to various dependencies on InProcBrowserTest and ExtensionApiTest. Hence I'll send out a separate follow on CL to move the tests. [email protected], [email protected] BUG=650835 Committed: https://crrev.com/c8e6edea4ad306b0b0bb26ebcb67bb8a4cb91746 Cr-Commit-Position: refs/heads/master@{#421700}

Patch Set 1 #

Total comments: 10

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : build fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -5810 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 3 chunks +6 lines, -12 lines 1 comment Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_api_advertisement.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_api_advertisement.cc View 1 chunk +0 lines, -35 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h View 1 chunk +0 lines, -634 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 1 chunk +0 lines, -1540 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.h View 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc View 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h View 1 chunk +0 lines, -588 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 1 chunk +0 lines, -1928 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc View 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/utils.h View 1 chunk +0 lines, -36 lines 0 comments Download
D chrome/browser/extensions/api/bluetooth_low_energy/utils.cc View 1 chunk +0 lines, -66 lines 0 comments Download
M chrome/browser/extensions/browser_context_keyed_service_factories.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/extensions/chrome_kiosk_delegate.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/extensions/chrome_kiosk_delegate.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/extensions/chrome_kiosk_delegate_chromeos.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/extensions/api/bluetooth_low_energy.idl View 1 chunk +0 lines, -565 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A extensions/browser/api/bluetooth_low_energy/BUILD.gn View 1 chunk +29 lines, -0 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.cc View 3 chunks +4 lines, -5 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h View 3 chunks +6 lines, -6 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 1 2 19 chunks +29 lines, -50 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc View 2 chunks +7 lines, -9 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h View 4 chunks +4 lines, -4 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 17 chunks +29 lines, -55 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc View 2 chunks +5 lines, -6 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/utils.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + extensions/browser/api/bluetooth_low_energy/utils.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M extensions/browser/extensions_browser_client.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A + extensions/browser/kiosk/BUILD.gn View 1 chunk +3 lines, -3 lines 0 comments Download
A extensions/browser/kiosk/kiosk_delegate.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A extensions/browser/kiosk/kiosk_delegate.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/common/api/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + extensions/common/api/bluetooth_low_energy.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
M extensions/shell/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A extensions/shell/browser/delegates/shell_kiosk_delegate.h View 1 chunk +26 lines, -0 lines 0 comments Download
A extensions/shell/browser/delegates/shell_kiosk_delegate.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_extensions_api_client.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/shell/browser/shell_extensions_browser_client.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_extensions_browser_client.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Rahul Chaturvedi
4 years, 2 months ago (2016-09-27 21:41:30 UTC) #1
xiyuan
LGTM but please wait for Devlin
4 years, 2 months ago (2016-09-27 23:07:00 UTC) #2
asargent_no_longer_on_chrome
https://codereview.chromium.org/2370373002/diff/1/chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc File chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc (right): https://codereview.chromium.org/2370373002/diff/1/chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc#newcode24 chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc:24: #endif Will all the eventual methods here be of ...
4 years, 2 months ago (2016-09-28 19:58:15 UTC) #4
Rahul Chaturvedi
https://codereview.chromium.org/2370373002/diff/1/chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc File chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc (right): https://codereview.chromium.org/2370373002/diff/1/chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc#newcode24 chrome/browser/chromeos/app_mode/chrome_kiosk_delegate.cc:24: #endif On 2016/09/28 19:58:15, Antony Sargent wrote: > Will ...
4 years, 2 months ago (2016-09-28 20:26:47 UTC) #5
asargent_no_longer_on_chrome
https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h File extensions/browser/api/extensions_api_client.h (right): https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h#newcode132 extensions/browser/api/extensions_api_client.h:132: virtual KioskDelegate* GetKioskDelegate(); On 2016/09/28 20:26:47, Rahul Chaturvedi wrote: ...
4 years, 2 months ago (2016-09-28 20:45:19 UTC) #6
Rahul Chaturvedi
https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h File extensions/browser/api/extensions_api_client.h (right): https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h#newcode132 extensions/browser/api/extensions_api_client.h:132: virtual KioskDelegate* GetKioskDelegate(); On 2016/09/28 20:45:19, Antony Sargent wrote: ...
4 years, 2 months ago (2016-09-28 21:10:29 UTC) #7
asargent_no_longer_on_chrome
https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h File extensions/browser/api/extensions_api_client.h (right): https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h#newcode132 extensions/browser/api/extensions_api_client.h:132: virtual KioskDelegate* GetKioskDelegate(); On 2016/09/28 21:10:29, Rahul Chaturvedi wrote: ...
4 years, 2 months ago (2016-09-28 21:49:42 UTC) #8
Rahul Chaturvedi
https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h File extensions/browser/api/extensions_api_client.h (right): https://codereview.chromium.org/2370373002/diff/1/extensions/browser/api/extensions_api_client.h#newcode132 extensions/browser/api/extensions_api_client.h:132: virtual KioskDelegate* GetKioskDelegate(); On 2016/09/28 21:49:41, Antony Sargent wrote: ...
4 years, 2 months ago (2016-09-28 23:00:10 UTC) #9
asargent_no_longer_on_chrome
lgtm
4 years, 2 months ago (2016-09-28 23:03:33 UTC) #10
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/2370373002/40001
4 years, 2 months ago (2016-09-28 23:05:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/234162)
4 years, 2 months ago (2016-09-28 23:21:25 UTC) #15
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/2370373002/60001
4 years, 2 months ago (2016-09-28 23:27:53 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-29 00:56:58 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c8e6edea4ad306b0b0bb26ebcb67bb8a4cb91746 Cr-Commit-Position: refs/heads/master@{#421700}
4 years, 2 months ago (2016-09-29 01:07:38 UTC) #21
trchen
Hello, I'm not sure if it began with this CL, but there is a race ...
4 years, 1 month ago (2016-10-26 00:27:29 UTC) #22
xiyuan
On 2016/10/26 00:27:29, trchen wrote: > Hello, I'm not sure if it began with this ...
4 years, 1 month ago (2016-10-26 18:37:12 UTC) #24
Lei Zhang
3 years, 4 months ago (2017-08-21 19:29:47 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/2370373002/diff/60001/chrome/browser/extensio...
File chrome/browser/extensions/BUILD.gn (right):

https://codereview.chromium.org/2370373002/diff/60001/chrome/browser/extensio...
chrome/browser/extensions/BUILD.gn:914: if (!is_chromeos) {
BTW, seeing how there is an is_chromeos block below, it has an existing else
block that this could have been placed in. I'll do that in a follow up CL.

Powered by Google App Engine
This is Rietveld 408576698