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

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

Issue 2379573006: bluetooth: Standardize Bluetooth adapter access in Adapter service. (Closed)
Patch Set: dcheng fixes 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/adapter_factory.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/adapter.mojom
diff --git a/device/bluetooth/public/interfaces/adapter.mojom b/device/bluetooth/public/interfaces/adapter.mojom
index e46e7a9b89ed12953058d31d1649cb3b4e2cd33f..a5ef798874602f737f0af81f2a0a29b6a3bec353 100644
--- a/device/bluetooth/public/interfaces/adapter.mojom
+++ b/device/bluetooth/public/interfaces/adapter.mojom
@@ -28,3 +28,8 @@ interface AdapterClient {
// Called after the device hasn't been seen for 3 minutes.
DeviceRemoved(DeviceInfo device);
};
+
+interface AdapterFactory {
+ // Gets an Adapter interface. Returns null if Bluetooth is not supported.
+ GetAdapter() => (Adapter? adapter);
+};
« no previous file with comments | « device/bluetooth/adapter_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698