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

Unified Diff: device/bluetooth/public/interfaces/device.mojom

Issue 2643393002: bluetooth: Remove queuing of GetCharacteristicsCallbacks (Closed)
Patch Set: Add comment explaining null/empty difference Created 3 years, 11 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
« no previous file with comments | « device/bluetooth/device_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/public/interfaces/device.mojom
diff --git a/device/bluetooth/public/interfaces/device.mojom b/device/bluetooth/public/interfaces/device.mojom
index b8ee6ef753ef3669fd4914f96d7a73351dde2645..5448f342e424ba9cd95daceadb01f197c09b00db 100644
--- a/device/bluetooth/public/interfaces/device.mojom
+++ b/device/bluetooth/public/interfaces/device.mojom
@@ -70,6 +70,9 @@ interface Device {
GetServices() => (array<ServiceInfo> services);
// Gets the GATT Characteristics in the GATT Service with |service_id|.
+ // If |characteristics| is null, an error occured while attempting to retrieve
+ // the array of characteristics. If |characteristics| is empty, this simply
+ // means that no characteristics were found.
GetCharacteristics(string service_id) =>
- (array<CharacteristicInfo> characteristics);
+ (array<CharacteristicInfo>? characteristics);
};
« no previous file with comments | « device/bluetooth/device_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698