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

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..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();

Powered by Google App Engine
This is Rietveld 408576698