Index: chrome/common/extensions/api/bluetooth.idl |
diff --git a/chrome/common/extensions/api/bluetooth.idl b/chrome/common/extensions/api/bluetooth.idl |
index cebbf804cbb4af7363dff4c415d806c9e06d9de0..65a6e2bd6b9c369ecf722c3dfe983cdb7252413e 100644 |
--- a/chrome/common/extensions/api/bluetooth.idl |
+++ b/chrome/common/extensions/api/bluetooth.idl |
@@ -166,16 +166,6 @@ namespace bluetooth { |
boolean paused; |
}; |
- dictionary OutOfBandPairingData { |
- // Simple Pairing Hash C. |
- // Always 16 octets long. |
- ArrayBuffer hash; |
- |
- // Simple Pairing Randomizer R. |
- // Always 16 octets long. |
- ArrayBuffer randomizer; |
- }; |
- |
callback AdapterStateCallback = void(AdapterState result); |
callback AddressCallback = void(DOMString result); |
callback BooleanCallback = void(boolean result); |
@@ -183,7 +173,6 @@ namespace bluetooth { |
callback DeviceCallback = void(Device result); |
callback DevicesCallback = void(Device[] result); |
callback NameCallback = void(DOMString result); |
- callback OutOfBandPairingDataCallback = void(OutOfBandPairingData data); |
callback ResultCallback = void(); |
callback SizeCallback = void(long result); |
callback SocketCallback = void(Socket result); |
@@ -203,17 +192,6 @@ namespace bluetooth { |
long socketId; |
}; |
- // Options for the setOutOfBandPairingData function. |
- dictionary SetOutOfBandPairingDataOptions { |
- // The address of the remote device that the data should be associated |
- // with. |deviceAddress| should be in the format 'XX:XX:XX:XX:XX:XX'. |
- DOMString address; |
- |
- // The Out Of Band Pairing Data. If this is omitted, the data for the |
- // device is cleared instead. |
- OutOfBandPairingData? data; |
- }; |
- |
// Callback from the <code>getSocket</code> method. |
// |socket| : Object containing the socket information. |
callback GetSocketCallback = void (Socket socket); |
@@ -325,18 +303,6 @@ namespace bluetooth { |
// |callback| : Called when the list of sockets is available. |
static void getSockets(GetSocketsCallback callback); |
- // Get the local Out of Band Pairing data. |
- // |callback| : Called with the data. |
- static void getLocalOutOfBandPairingData( |
- OutOfBandPairingDataCallback callback); |
- |
- // Set the Out of Band Pairing data for a remote device. |
- // Any previous Out Of Band Pairing Data for this device is overwritten. |
- // |options| : The options for this function. |
- // |callback| : Called to indicate success or failure. |
- static void setOutOfBandPairingData(SetOutOfBandPairingDataOptions options, |
- optional ResultCallback callback); |
- |
// Start discovery. Newly discovered devices will be returned via the |
// onDeviceAdded event. Previously discovered devices already known to |
// the adapter must be obtained using getDevices and will only be updated |