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

Issue 491753002: [EasyUnlock] Add a private API for establishing an insecure Bluetooth connection. (Closed)

Created:
6 years, 4 months ago by Ilya Sherman
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

[EasyUnlock] Add a private API for establishing an insecure Bluetooth connection. This is needed to avoid a pairing request prompt when connecting to a service on a system that tries to upgrade the connection from general bonding to general bonding with MITM protection, which according to Android and ChromeOS Bluetooth experts is the correct behavior. BUG=403069 TEST=chrome.easyUnlockPrivate.connectToBluetoothServiceInsecurely() should work just like chrome.bluetoothSocket.connect(), but not show a pairing request prompt when pairing with Android L. R=tengs@chromium.org, keybuk@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291353

Patch Set 1 #

Patch Set 2 : Fix compile and update histograms #

Total comments: 6

Patch Set 3 : Update a comment #

Total comments: 4

Patch Set 4 : Move code into util file and fix up IDL nits #

Patch Set 5 : Rebase #

Patch Set 6 : Fix non-ChromeOS build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -21 lines) Patch
M chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h View 1 chunk +28 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc View 4 chunks +24 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h View 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_bluetooth_util.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_bluetooth_util.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_bluetooth_util_chromeos.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/easy_unlock_private.idl View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 1 1 chunk +13 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 chunk +15 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_socket_chromeos.h View 2 chunks +6 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_socket_chromeos.cc View 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Ilya Sherman
Tim, PTAL at the EasyUnlock changes. Scott, PTAL at the Bluetooth changes.
6 years, 4 months ago (2014-08-20 22:12:56 UTC) #1
Tim Song
LGTM for easyUnlockPrivate API. Scott, do you think this would be worth moving to bluetoothPrivate ...
6 years, 4 months ago (2014-08-21 00:36:28 UTC) #2
Ilya Sherman
https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc (right): https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc#newcode417 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc:417: chromeos::BluetoothDeviceChromeOS* device_chromeos = On 2014/08/21 00:36:27, Tim Song wrote: ...
6 years, 4 months ago (2014-08-21 00:53:25 UTC) #3
Tim Song
https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc (right): https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc#newcode417 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc:417: chromeos::BluetoothDeviceChromeOS* device_chromeos = On 2014/08/21 00:53:24, Ilya Sherman wrote: ...
6 years, 4 months ago (2014-08-21 01:02:44 UTC) #4
keybuk
lgtm
6 years, 4 months ago (2014-08-21 16:58:07 UTC) #5
Ilya Sherman
Yoyo or Antony, PTAL at the extensions IDL file changes. Thanks.
6 years, 4 months ago (2014-08-21 22:32:00 UTC) #6
Yoyo Zhou
IDL lgtm https://chromiumcodereview.appspot.com/491753002/diff/40001/chrome/common/extensions/api/easy_unlock_private.idl File chrome/common/extensions/api/easy_unlock_private.idl (right): https://chromiumcodereview.appspot.com/491753002/diff/40001/chrome/common/extensions/api/easy_unlock_private.idl#newcode221 chrome/common/extensions/api/easy_unlock_private.idl:221: // |socketId| : The socket identifier, as ...
6 years, 4 months ago (2014-08-21 22:42:53 UTC) #7
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 4 months ago (2014-08-21 23:09:20 UTC) #8
Ilya Sherman
https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc (right): https://chromiumcodereview.appspot.com/491753002/diff/20001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc#newcode417 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc:417: chromeos::BluetoothDeviceChromeOS* device_chromeos = On 2014/08/21 01:02:44, Tim Song wrote: ...
6 years, 4 months ago (2014-08-21 23:11:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/491753002/60001
6 years, 4 months ago (2014-08-21 23:11:39 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-22 00:10:22 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 00:12:10 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/44974) linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/8879) mac_chromium_compile_dbg ...
6 years, 4 months ago (2014-08-22 00:12:11 UTC) #13
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 4 months ago (2014-08-22 03:46:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/491753002/80001
6 years, 4 months ago (2014-08-22 03:47:21 UTC) #15
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 4 months ago (2014-08-22 03:48:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/491753002/100001
6 years, 4 months ago (2014-08-22 03:49:11 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 04:48:13 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 04:54:29 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/8392)
6 years, 4 months ago (2014-08-22 04:54:31 UTC) #20
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 4 months ago (2014-08-22 05:01:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/491753002/100001
6 years, 4 months ago (2014-08-22 05:02:50 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 05:43:36 UTC) #23
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 07:32:33 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (100001) as 291353

Powered by Google App Engine
This is Rietveld 408576698