| Index: device/bluetooth/bluetooth_gatt_service.h
|
| diff --git a/device/bluetooth/bluetooth_gatt_service.h b/device/bluetooth/bluetooth_gatt_service.h
|
| index fe4bf1c5dd0fdc30fa49c3f04fd64bfc862cb48d..7c37f7d33a752c8f9e466c7a7e2951ba7bb0b0c2 100644
|
| --- a/device/bluetooth/bluetooth_gatt_service.h
|
| +++ b/device/bluetooth/bluetooth_gatt_service.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/callback.h"
|
| @@ -142,7 +143,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattService {
|
| };
|
|
|
| // The ErrorCallback is used by methods to asynchronously report errors.
|
| - typedef base::Closure ErrorCallback;
|
| + using ErrorCallback = base::Callback<void(GattErrorCode error_code)>;
|
|
|
| virtual ~BluetoothGattService();
|
|
|
|
|