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

Unified Diff: device/bluetooth/bluetooth_gatt_service.h

Issue 1872943002: Add support for local services/characteristics/descriptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: device/bluetooth/bluetooth_gatt_service.h
diff --git a/device/bluetooth/bluetooth_gatt_service.h b/device/bluetooth/bluetooth_gatt_service.h
index fe4bf1c5dd0fdc30fa49c3f04fd64bfc862cb48d..d058762c728c78175da7edc4629fcb695b539c94 100644
--- a/device/bluetooth/bluetooth_gatt_service.h
+++ b/device/bluetooth/bluetooth_gatt_service.h
@@ -6,10 +6,11 @@
#define DEVICE_BLUETOOTH_BLUETOOTH_GATT_SERVICE_H_
#include <stdint.h>
-
+#include <string>
#include <vector>
#include "base/callback.h"
+#include "base/callback_forward.h"
#include "base/macros.h"
#include "device/bluetooth/bluetooth_export.h"
#include "device/bluetooth/bluetooth_uuid.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();
« no previous file with comments | « device/bluetooth/bluetooth_gatt_descriptor_bluez.cc ('k') | device/bluetooth/bluetooth_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698