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

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

Issue 2379573006: bluetooth: Standardize Bluetooth adapter access in Adapter service. (Closed)
Patch Set: Comment updates 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
« device/bluetooth/adapter_factory.cc ('K') | « 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..eb41359f55086cef638bb9c61068990aeb099264 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.
+ GetAdapter(Adapter& adapter, AdapterClient client) => (bool success);
ortuno 2016/10/05 02:07:51 I think the following interface would simplify thi
mbrunson 2016/10/05 17:59:04 That makes sense. It's easier to follow in my opin
+};
« device/bluetooth/adapter_factory.cc ('K') | « device/bluetooth/adapter_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698