summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_gatt_descriptor.h
diff options
context:
space:
mode:
authorjamuraa <jamuraa@chromium.org>2014-10-01 09:48:04 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-01 16:48:20 +0000
commit7b39ecf6b2ceed6270d74d3e6727a0226fa88ea1 (patch)
tree5aaf109a1911b5c2fb668aee0a7f1dd7907d1e14 /device/bluetooth/bluetooth_gatt_descriptor.h
parentd321a70a780e58ef1f803859263672678e656407 (diff)
downloadchromium_src-7b39ecf6b2ceed6270d74d3e6727a0226fa88ea1.zip
chromium_src-7b39ecf6b2ceed6270d74d3e6727a0226fa88ea1.tar.gz
chromium_src-7b39ecf6b2ceed6270d74d3e6727a0226fa88ea1.tar.bz2
First part of errors coming up from the dbus API
BUG=377232 Review URL: https://codereview.chromium.org/604023004 Cr-Commit-Position: refs/heads/master@{#297656}
Diffstat (limited to 'device/bluetooth/bluetooth_gatt_descriptor.h')
-rw-r--r--device/bluetooth/bluetooth_gatt_descriptor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_gatt_descriptor.h b/device/bluetooth/bluetooth_gatt_descriptor.h
index e98ef29..84139b8 100644
--- a/device/bluetooth/bluetooth_gatt_descriptor.h
+++ b/device/bluetooth/bluetooth_gatt_descriptor.h
@@ -105,7 +105,8 @@ class BluetoothGattDescriptor {
static const BluetoothUUID& CharacteristicAggregateFormatUuid();
// The ErrorCallback is used by methods to asynchronously report errors.
- typedef base::Closure ErrorCallback;
+ typedef base::Callback<void(BluetoothGattService::GattErrorCode)>
+ ErrorCallback;
// The ValueCallback is used to return the value of a remote characteristic
// descriptor upon a read request.