| 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 8cfa295c5e24e4fd4efc645aaccadd16c1c3f5c2..be5341815615ef31676c63c158bd5d22ca9a39ad 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| @@ -114,15 +114,15 @@ class BluetoothSocketEventDispatcher;
|
|
|
| // Base class for methods dealing with BluetoothSocketApi and
|
| // ApiResourceManager<BluetoothSocketApi>.
|
| -class BluetoothSocketApiFunction : public UIThreadExtensionFunction {
|
| +class BluetoothSocketApiFunction : public AsyncExtensionFunction {
|
| public:
|
| BluetoothSocketApiFunction();
|
|
|
| protected:
|
| virtual ~BluetoothSocketApiFunction();
|
|
|
| - // ExtensionFunction::RunImpl()
|
| - virtual bool RunImpl() OVERRIDE;
|
| + // ExtensionFunction::RunAsync()
|
| + virtual bool RunAsync() OVERRIDE;
|
|
|
| bool PrePrepare();
|
| bool Respond();
|
| @@ -174,7 +174,7 @@ class BluetoothGetDeviceFunction : public BluetoothExtensionFunction {
|
| virtual ~BluetoothGetDeviceFunction();
|
| };
|
|
|
| -class BluetoothAddProfileFunction : public UIThreadExtensionFunction {
|
| +class BluetoothAddProfileFunction : public AsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("bluetooth.addProfile", BLUETOOTH_ADDPROFILE)
|
|
|
| @@ -182,7 +182,7 @@ class BluetoothAddProfileFunction : public UIThreadExtensionFunction {
|
|
|
| protected:
|
| virtual ~BluetoothAddProfileFunction();
|
| - virtual bool RunImpl() OVERRIDE;
|
| + virtual bool RunAsync() OVERRIDE;
|
|
|
| virtual void RegisterProfile(
|
| const device::BluetoothProfile::Options& options,
|
|
|