| 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 525fdfee218317f06e18c914df1443b23f5ac3df..5e39f8f70d717b2760a62418776b12778091912e 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| @@ -60,20 +60,26 @@ class BluetoothAddProfileFunction : public AsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("bluetooth.addProfile", BLUETOOTH_ADDPROFILE)
|
|
|
| - virtual bool RunImpl() OVERRIDE;
|
| + BluetoothAddProfileFunction();
|
|
|
| protected:
|
| virtual ~BluetoothAddProfileFunction() {}
|
| + virtual bool RunImpl() OVERRIDE;
|
| +
|
| + private:
|
| + void OnProfileRegistered(device::BluetoothProfile* bluetooth_profile);
|
| +
|
| + std::string uuid_;
|
| };
|
|
|
| -class BluetoothRemoveProfileFunction : public AsyncExtensionFunction {
|
| +class BluetoothRemoveProfileFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("bluetooth.removeProfile",
|
| BLUETOOTH_REMOVEPROFILE)
|
| - virtual bool RunImpl() OVERRIDE;
|
|
|
| protected:
|
| virtual ~BluetoothRemoveProfileFunction() {}
|
| + virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| class BluetoothGetProfilesFunction : public BluetoothExtensionFunction {
|
|
|