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

Side by Side Diff: device/bluetooth/public/interfaces/device.mojom

Issue 2404623002: bluetooth: Add DeviceChanged logging in Device service. (Closed)
Patch Set: Move devices map, simplify initialization 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 unified diff | Download patch
« no previous file with comments | « device/bluetooth/public/interfaces/adapter.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module bluetooth.mojom; 5 module bluetooth.mojom;
6 6
7 // TODO(crbug.com/657632): Remove when numerical values can be optional.
8 struct RSSIWrapper {
9 int8 value;
10 };
11
7 struct DeviceInfo { 12 struct DeviceInfo {
8 string? name; 13 string? name;
9 string name_for_display; 14 string name_for_display;
10 string address; 15 string address;
16 RSSIWrapper? rssi;
11 }; 17 };
12 18
13 interface Device { 19 interface Device {
14 // Gets basic information about the device. Returns null, if no device is 20 // Gets basic information about the device. Returns null, if no device is
15 // available. 21 // available.
16 GetInfo() => (DeviceInfo? info); 22 GetInfo() => (DeviceInfo? info);
17 }; 23 };
OLDNEW
« no previous file with comments | « device/bluetooth/public/interfaces/adapter.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698