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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_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/bluetooth_api.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
index 0d26080669e709e7f1d51e70a2da4f832f88b435..fdb098fea39bc9c7e79d28e44590f155bf6a0504 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
@@ -75,7 +75,7 @@ class BluetoothGetAdapterStateFunction : public BluetoothExtensionFunction {
virtual ~BluetoothGetAdapterStateFunction();
// BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
+ virtual void DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
};
class BluetoothGetDevicesFunction : public BluetoothExtensionFunction {
@@ -86,7 +86,7 @@ class BluetoothGetDevicesFunction : public BluetoothExtensionFunction {
virtual ~BluetoothGetDevicesFunction();
// BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
+ virtual void DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
};
class BluetoothGetDeviceFunction : public BluetoothExtensionFunction {
@@ -94,7 +94,7 @@ class BluetoothGetDeviceFunction : public BluetoothExtensionFunction {
DECLARE_EXTENSION_FUNCTION("bluetooth.getDevice", BLUETOOTH_GETDEVICE)
// BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
+ virtual void DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
protected:
virtual ~BluetoothGetDeviceFunction();
@@ -109,7 +109,7 @@ class BluetoothStartDiscoveryFunction : public BluetoothExtensionFunction {
virtual ~BluetoothStartDiscoveryFunction() {}
// BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
+ virtual void DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
private:
void OnSuccessCallback();
@@ -124,7 +124,7 @@ class BluetoothStopDiscoveryFunction : public BluetoothExtensionFunction {
virtual ~BluetoothStopDiscoveryFunction() {}
// BluetoothExtensionFunction:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
+ virtual void DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
private:
void OnSuccessCallback();

Powered by Google App Engine
This is Rietveld 408576698