Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h |
index ad55f61791d00320d9a8ac6c4e10a8890b78cf96..59f1428a4b6117db14e6f6fe2695e33c4487c1b7 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h |
@@ -53,7 +53,7 @@ namespace api { |
// Base class for bluetoothLowEnergy API functions. This class handles some of |
// the common logic involved in all API functions, such as checking for |
// platform support and returning the correct error. |
-class BluetoothLowEnergyExtensionFunction : public UIThreadExtensionFunction { |
+class BluetoothLowEnergyExtensionFunction : public AsyncExtensionFunction { |
public: |
BluetoothLowEnergyExtensionFunction(); |
@@ -61,10 +61,10 @@ class BluetoothLowEnergyExtensionFunction : public UIThreadExtensionFunction { |
virtual ~BluetoothLowEnergyExtensionFunction(); |
// ExtensionFunction override. |
- virtual bool RunImpl() OVERRIDE; |
+ virtual bool RunAsync() OVERRIDE; |
// Implemented by individual bluetoothLowEnergy extension functions to perform |
- // the body of the function. This invoked asynchonously after RunImpl after |
+ // the body of the function. This invoked asynchonously after RunAsync after |
// the BluetoothLowEnergyEventRouter has obtained a handle on the |
// BluetoothAdapter. |
virtual bool DoWork() = 0; |