| 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 ebad5b56c31f235108282a53a5aafe2ca4aead8e..98329eff9a2c97c40d2548b54348bd37dc5a509c 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| @@ -21,7 +21,8 @@ class BluetoothExtensionFunction : public SyncExtensionFunction {
|
|
|
| protected:
|
| #if defined(OS_CHROMEOS)
|
| - const chromeos::BluetoothAdapter* adapter_;
|
| + const chromeos::BluetoothAdapter* const_adapter_;
|
| + chromeos::BluetoothAdapter* adapter_;
|
| #endif
|
| };
|
|
|
| @@ -51,6 +52,12 @@ class BluetoothGetDevicesWithServiceFunction
|
| "experimental.bluetooth.getDevicesWithService")
|
| };
|
|
|
| +class BluetoothConnectFunction : public BluetoothExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl() OVERRIDE;
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.bluetooth.connect")
|
| +};
|
| +
|
| class BluetoothDisconnectFunction : public BluetoothExtensionFunction {
|
| public:
|
| virtual bool RunImpl() OVERRIDE;
|
| @@ -85,12 +92,6 @@ class BluetoothWriteFunction : public BluetoothExtensionFunction {
|
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.bluetooth.write")
|
| };
|
|
|
| -class BluetoothConnectFunction : public BluetoothExtensionFunction {
|
| - public:
|
| - virtual bool RunImpl() OVERRIDE;
|
| - DECLARE_EXTENSION_FUNCTION_NAME("experimental.bluetooth.connect")
|
| -};
|
| -
|
| } // namespace api
|
| } // namespace extensions
|
|
|
|
|