Split out Bluetooth PIN Codes and Passkeys.
commit21658d82902a1c89a260744c86909a0cdb7a20c3
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 11 Mar 2012 01:12:09 +0000 (11 01:12 +0000)
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 11 Mar 2012 01:12:09 +0000 (11 01:12 +0000)
treedb1e89ef22c0a7b0915cbbf999a4b4839a271982
parent7533518eb4da0560c5bce294176cc42a1a062bfd
Split out Bluetooth PIN Codes and Passkeys.

PIN Codes are arbitrary strings of bytes, of arbitrary length up
to a limit of 16 characters whereas Passkeys are numerics in the range
000000-999999.

Passkeys also support typing notification from remote devices while
being entered, whereas PIN Codes don't.

It makes sense to split these out for request purposes so we can perform
input validation and restriction, and for display purposes because of the
style differences.

BUG=chromium-os:21320
TEST=called options.BrowserOptions.addBluetoothDevice from console

Change-Id: Ib3591dddacbf0f9bdc19f65c83c5bf7d33935fd2

Review URL: http://codereview.chromium.org/9662018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126054 0039d316-1c4b-4281-b951-d872f2087c98
chrome/app/generated_resources.grd
chrome/browser/resources/options2/chromeos/bluetooth.css
chrome/browser/resources/options2/chromeos/bluetooth_pair_device_overlay.js
chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc
chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h