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

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

Issue 2404623002: bluetooth: Add DeviceChanged logging in Device service. (Closed)
Patch Set: Remove proxy from Device in JS Created 4 years, 2 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/public/interfaces/device.mojom
diff --git a/device/bluetooth/public/interfaces/device.mojom b/device/bluetooth/public/interfaces/device.mojom
index b629bab1703d8441c10271394e9345ce2845b566..19fe22e149a9456a58bc29be6bc15738f58b704e 100644
--- a/device/bluetooth/public/interfaces/device.mojom
+++ b/device/bluetooth/public/interfaces/device.mojom
@@ -4,10 +4,16 @@
module bluetooth.mojom;
+// TODO(crbug.com/657632): Remove when numerical values can be optional.
+struct RSSIWrapper {
ortuno 2016/10/19 23:19:19 I wish we had an Optional<> in javascript :/
mbrunson 2016/10/20 00:33:51 Yeah... I think that's planned for ES8. I think th
+ int8 value;
+};
+
struct DeviceInfo {
string? name;
string name_for_display;
string address;
+ RSSIWrapper? rssi;
};
interface Device {

Powered by Google App Engine
This is Rietveld 408576698