| Index: chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h b/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
| index 0e77d7a1e228336c1eb6dea8694cf9deea6ee807..dfe9ea50491bed024b78ebfbb1fb2914c9c4e7c2 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
| @@ -21,7 +21,7 @@ namespace api {
|
| // Base class for bluetooth extension functions. This class initializes
|
| // bluetooth adapter and calls (on the UI thread) DoWork() implemented by
|
| // individual bluetooth extension functions.
|
| -class BluetoothExtensionFunction : public UIThreadExtensionFunction {
|
| +class BluetoothExtensionFunction : public AsyncExtensionFunction {
|
| public:
|
| BluetoothExtensionFunction();
|
|
|
| @@ -29,7 +29,7 @@ class BluetoothExtensionFunction : public UIThreadExtensionFunction {
|
| virtual ~BluetoothExtensionFunction();
|
|
|
| // ExtensionFunction:
|
| - virtual bool RunImpl() OVERRIDE;
|
| + virtual bool RunAsync() OVERRIDE;
|
|
|
| private:
|
| void RunOnAdapterReady(scoped_refptr<device::BluetoothAdapter> adapter);
|
|
|