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
|
+}; |