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

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

Issue 2390933002: Revert of bluetooth: Add device list retrieval for chrome://bluetooth-internals (Closed)
Patch Set: 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
« no previous file with comments | « device/bluetooth/public/interfaces/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/public/interfaces/adapter.mojom
diff --git a/device/bluetooth/public/interfaces/adapter.mojom b/device/bluetooth/public/interfaces/adapter.mojom
deleted file mode 100644
index e46e7a9b89ed12953058d31d1649cb3b4e2cd33f..0000000000000000000000000000000000000000
--- a/device/bluetooth/public/interfaces/adapter.mojom
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module bluetooth.mojom;
-
-struct DeviceInfo {
- string? name;
- string name_for_display;
- string id;
- string address;
-};
-
-interface Adapter {
- // Retrieves the list of the devices known by the adapter including Connected
- // Devices, GATT Connected Devices, Paired Devices and Devices discovered
- // during a classic or low-energy scan.
- GetDevices() => (array<DeviceInfo> devices);
-
- // Sets the client that listens for the adapter's events.
- SetClient(AdapterClient client);
-};
-
-interface AdapterClient {
- // Called the first time a device is discovered.
- DeviceAdded(DeviceInfo device);
-
- // Called after the device hasn't been seen for 3 minutes.
- DeviceRemoved(DeviceInfo device);
-};
« no previous file with comments | « device/bluetooth/public/interfaces/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698