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

Unified Diff: chrome/common/extensions/api/bluetooth.idl

Issue 293063015: Bluetooth: remove Out of Band Pairing APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698