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

Issue 13933012: Bluetooth: Don't attempt a pairing for devices not supporting it. (Closed)

Created:
7 years, 8 months ago by deymo
Modified:
7 years, 8 months ago
Reviewers:
keybuk, glotov, stevenjb
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Bluetooth: Don't attempt a pairing for devices not supporting it. Bluetooth mice are not required to be paired, but we attempt to pair to them anyway because some mice, namely the Apple magic mouse, require pairing. Some other mice do NOT support pairing or pretend to support it without doing it properly. This patch adds a small database of bluetooth mice known to not support pairing and tries to connect to them without pairing. BUG=210518 TEST=Attempt to pair with a Verbatim mouse. No pincode should be ask and the mouse should just work. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194684

Patch Set 1 #

Patch Set 2 : aura shell impl #

Total comments: 3

Patch Set 3 : todo added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -3 lines) Patch
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
deymo
glotov for OWNER review chrome/browser/ui/webui/options/chromeos/ keybuk for the rest. Tested on link, verbatim mouse now ...
7 years, 8 months ago (2013-04-17 03:03:33 UTC) #1
glotov
lgtm
7 years, 8 months ago (2013-04-17 08:01:35 UTC) #2
keybuk
Is the same change is needed for the click handler of the Aura shell?
7 years, 8 months ago (2013-04-17 17:13:33 UTC) #3
deymo
Yes, the same applies to aura shell. Added it to this CL (one line). stevenjb@ ...
7 years, 8 months ago (2013-04-17 17:33:08 UTC) #4
keybuk
https://codereview.chromium.org/13933012/diff/4001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): https://codereview.chromium.org/13933012/diff/4001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode620 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:620: base::Bind(&base::DoNothing), In the BluetoothOptionsHandler patch, you change this DoNothing ...
7 years, 8 months ago (2013-04-17 17:53:09 UTC) #5
deymo
https://codereview.chromium.org/13933012/diff/4001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): https://codereview.chromium.org/13933012/diff/4001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode620 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:620: base::Bind(&base::DoNothing), The Aura shell doesn't use a pairing window ...
7 years, 8 months ago (2013-04-17 17:57:55 UTC) #6
keybuk
lgtm
7 years, 8 months ago (2013-04-17 18:00:39 UTC) #7
keybuk
Shouldn't BluetoothDeviceChromeOS have "|| !IsPairable()" added to its Connect() function?
7 years, 8 months ago (2013-04-17 21:07:24 UTC) #8
stevenjb
lgtm https://codereview.chromium.org/13933012/diff/4001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/13933012/diff/4001/device/bluetooth/bluetooth_device.cc#newcode171 device/bluetooth/bluetooth_device.cc:171: return false; Add a TODO item to put ...
7 years, 8 months ago (2013-04-17 21:19:20 UTC) #9
keybuk
7 years, 8 months ago (2013-04-17 21:26:47 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r194684 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698