Code:  void BluetoothOptionsHandler::GenerateFakeDeviceList() {
  GenerateFakeDiscoveredDevice(
     "Fake Wireless Keyboard",
     "01-02-03-04-05-06",
     "input-keyboard",
     true,
    true);
  GenerateFakeDiscoveredDevice(
     "Fake Wireless Mouse",
     "02-03-04-05-06-01",
     "input-mouse",
     true,
    false);
  GenerateFakeDiscoveredDevice(
     "Fake Wireless Headset",
     "03-04-05-06-01-02",
     "headset",
     false,
    false);
  GenerateFakePairing(
     "Fake Connecting Keyboard",
     "04-05-06-01-02-03",
     "input-keyboard",
     "bluetoothRemotePasskey");
  GenerateFakePairing(
     "Fake Connecting Phone",
     "05-06-01-02-03-04",
     "phone",
     "bluetoothConfirmPasskey");
  GenerateFakePairing(
     "Fake Connecting Headset",
     "06-01-02-03-04-05",
     "headset",
     "bluetoothEnterPasskey");
 
   web_ui_->CallJavascriptFunction(
       "options.SystemOptions.notifyBluetoothSearchComplete");
 }

Vulnerability Type: DoS Overflow 
CWE ID: CWE-119
Summary: Google Chrome before 17.0.963.46 does not properly handle PDF FAX images, which allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors.
Commit Message: Implement methods for pairing of bluetooth devices.

BUG=chromium:100392,chromium:102139
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109094 0039d316-1c4b-4281-b951-d872f2087c98