Index: device/vr/vr_device_manager.h |
diff --git a/device/vr/vr_device_manager.h b/device/vr/vr_device_manager.h |
index 202cd847b6bb9c7d0d54c6f97bf9abe596e1ada2..3ed6f6c37bc4bc1779d49b034fc9d9fefae0f9e0 100644 |
--- a/device/vr/vr_device_manager.h |
+++ b/device/vr/vr_device_manager.h |
@@ -24,6 +24,8 @@ |
namespace device { |
+// Singleton used to provide the platform's VR devices to VRServiceImpl |
+// instances. |
class VRDeviceManager { |
public: |
DEVICE_VR_EXPORT virtual ~VRDeviceManager(); |
@@ -33,10 +35,12 @@ class VRDeviceManager { |
// Adds a listener for device manager events. VRDeviceManager does not own |
// this object. |
+ // Automatically connects all currently available VR devices by querying |
+ // the device providers and, for each returned device, calling |
+ // VRServiceImpl::ConnectDevice. |
void AddService(VRServiceImpl* service); |
void RemoveService(VRServiceImpl* service); |
- DEVICE_VR_EXPORT bool GetVRDevices(VRServiceImpl* service); |
DEVICE_VR_EXPORT unsigned int GetNumberOfConnectedDevices(); |
void ListeningForActivateChanged(bool listening); |