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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api.h

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 | « no previous file | chrome/browser/extensions/api/bluetooth/bluetooth_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/bluetooth/bluetooth_api.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
index ad899126915b57fdd9b644e461cd253cdc3ca26a..58122a7e2de1f7b687a982e10157fc6a02fc8f44 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
@@ -28,7 +28,6 @@ class BrowserContext;
namespace device {
class BluetoothAdapter;
-struct BluetoothOutOfBandPairingData;
}
namespace net {
@@ -256,38 +255,6 @@ class BluetoothGetSocketsFunction : public AsyncExtensionFunction {
virtual bool RunAsync() OVERRIDE;
};
-class BluetoothGetLocalOutOfBandPairingDataFunction
- : public BluetoothExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("bluetooth.getLocalOutOfBandPairingData",
- BLUETOOTH_GETLOCALOUTOFBANDPAIRINGDATA)
-
- protected:
- virtual ~BluetoothGetLocalOutOfBandPairingDataFunction() {}
-
- void ReadCallback(const device::BluetoothOutOfBandPairingData& data);
- void ErrorCallback();
-
- // BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
-};
-
-class BluetoothSetOutOfBandPairingDataFunction
- : public BluetoothExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("bluetooth.setOutOfBandPairingData",
- BLUETOOTH_SETOUTOFBANDPAIRINGDATA)
-
- protected:
- virtual ~BluetoothSetOutOfBandPairingDataFunction() {}
-
- void OnSuccessCallback();
- void OnErrorCallback();
-
- // BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
-};
-
class BluetoothStartDiscoveryFunction : public BluetoothExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("bluetooth.startDiscovery",
« no previous file with comments | « no previous file | chrome/browser/extensions/api/bluetooth/bluetooth_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698