Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3774)

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.h

Issue 400843002: Clean up Bluetooth API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a trailing return Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4165169759af78dda385bd924641ede60221b1e4..87df890c7f6cd87a516f0faa3beaa1581e6d956b 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
@@ -68,7 +68,7 @@ class BluetoothLowEnergyExtensionFunction : public AsyncExtensionFunction {
// the body of the function. This invoked asynchonously after RunAsync after
// the BluetoothLowEnergyEventRouter has obtained a handle on the
// BluetoothAdapter.
- virtual bool DoWork() = 0;
+ virtual void DoWork() = 0;
private:
DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyExtensionFunction);
@@ -84,7 +84,7 @@ class BluetoothLowEnergyConnectFunction
virtual ~BluetoothLowEnergyConnectFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -103,7 +103,7 @@ class BluetoothLowEnergyDisconnectFunction
virtual ~BluetoothLowEnergyDisconnectFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -122,7 +122,7 @@ class BluetoothLowEnergyGetServiceFunction
virtual ~BluetoothLowEnergyGetServiceFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetServicesFunction
@@ -135,7 +135,7 @@ class BluetoothLowEnergyGetServicesFunction
virtual ~BluetoothLowEnergyGetServicesFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetCharacteristicFunction
@@ -148,7 +148,7 @@ class BluetoothLowEnergyGetCharacteristicFunction
virtual ~BluetoothLowEnergyGetCharacteristicFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetCharacteristicsFunction
@@ -161,7 +161,7 @@ class BluetoothLowEnergyGetCharacteristicsFunction
virtual ~BluetoothLowEnergyGetCharacteristicsFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetIncludedServicesFunction
@@ -174,7 +174,7 @@ class BluetoothLowEnergyGetIncludedServicesFunction
virtual ~BluetoothLowEnergyGetIncludedServicesFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetDescriptorFunction
@@ -187,7 +187,7 @@ class BluetoothLowEnergyGetDescriptorFunction
virtual ~BluetoothLowEnergyGetDescriptorFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyGetDescriptorsFunction
@@ -200,7 +200,7 @@ class BluetoothLowEnergyGetDescriptorsFunction
virtual ~BluetoothLowEnergyGetDescriptorsFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
};
class BluetoothLowEnergyReadCharacteristicValueFunction
@@ -213,7 +213,7 @@ class BluetoothLowEnergyReadCharacteristicValueFunction
virtual ~BluetoothLowEnergyReadCharacteristicValueFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -235,7 +235,7 @@ class BluetoothLowEnergyWriteCharacteristicValueFunction
virtual ~BluetoothLowEnergyWriteCharacteristicValueFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -258,7 +258,7 @@ class BluetoothLowEnergyStartCharacteristicNotificationsFunction
virtual ~BluetoothLowEnergyStartCharacteristicNotificationsFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -278,7 +278,7 @@ class BluetoothLowEnergyStopCharacteristicNotificationsFunction
virtual ~BluetoothLowEnergyStopCharacteristicNotificationsFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -297,7 +297,7 @@ class BluetoothLowEnergyReadDescriptorValueFunction
virtual ~BluetoothLowEnergyReadDescriptorValueFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by
@@ -319,7 +319,7 @@ class BluetoothLowEnergyWriteDescriptorValueFunction
virtual ~BluetoothLowEnergyWriteDescriptorValueFunction() {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ virtual void DoWork() OVERRIDE;
private:
// Success and error callbacks, called by

Powered by Google App Engine
This is Rietveld 408576698