| Index: device/bluetooth/bluetooth_device.h
|
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
|
| index bb363f9083e1880234207a74c1ea0d4616c2c24e..9df959c1d686e05d41f92c4f2bb820a47647677e 100644
|
| --- a/device/bluetooth/bluetooth_device.h
|
| +++ b/device/bluetooth/bluetooth_device.h
|
| @@ -123,6 +123,22 @@ class BluetoothDevice {
|
| virtual void DisplayPasskey(BluetoothDevice* device,
|
| uint32 passkey) = 0;
|
|
|
| + // This method will be called when the Bluetooth daemon gets a notification
|
| + // of a key entered on the device |device| while pairing with the device
|
| + // using a PIN code or a Passkey.
|
| + //
|
| + // This method will be called only after DisplayPinCode() or
|
| + // DisplayPasskey() is called and before the corresponding
|
| + // DismissDisplayOrConfirm() is called, but is not warranted to be called
|
| + // on every pairing process that requires a PIN code or a Passkey because
|
| + // some device may not support this feature.
|
| + //
|
| + // The |entered| value describes the number of keys entered so far,
|
| + // including the last [enter] key. A first call to DisplayEnteredKeys() with
|
| + // |entered| as 0 will be sent when the device supports this feature.
|
| + virtual void DisplayEnteredKeys(BluetoothDevice* device,
|
| + uint32 entered) = 0;
|
| +
|
| // This method will be called when the Bluetooth daemon requires that the
|
| // user confirm that the Passkey |passkey| is displayed on the screen
|
| // of the device |device| so that it may be authenticated. The delegate
|
|
|