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

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

Issue 2401193002: bluetooth: Add Device service for chrome://bluetooth-internals. (Closed)
Patch Set: Simplify promise 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module bluetooth.mojom;
6
7 struct DeviceInfo {
8 string? name;
9 string name_for_display;
10 string address;
11 };
12
13 interface Device {
14 // Gets basic information about the device. Returns null, If no device is
dcheng 2016/10/12 18:27:43 Nit:If=> if
mbrunson 2016/10/12 23:20:03 Done.
15 // available.
16 GetInfo() => (DeviceInfo? info);
17 };
OLDNEW
« device/bluetooth/device.cc ('K') | « device/bluetooth/public/interfaces/adapter.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698