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

Unified Diff: device/vr/vr_device_provider.h

Issue 2420743003: mojo VR interface simplified (Closed)
Patch Set: address leon@ comments about name 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
Index: device/vr/vr_device_provider.h
diff --git a/device/vr/vr_device_provider.h b/device/vr/vr_device_provider.h
index f388278cf956002cf65aca1fdb116e508c02af5a..80eaf5d475bb011cce0c739134aa1508926c1cd2 100644
--- a/device/vr/vr_device_provider.h
+++ b/device/vr/vr_device_provider.h
@@ -9,22 +9,21 @@
namespace device {
-class VRClientDispatcher;
class VRDevice;
+class VRServiceImpl;
class VRDeviceProvider {
public:
VRDeviceProvider() {}
virtual ~VRDeviceProvider() {}
- virtual void GetDevices(std::vector<VRDevice*>* devices) = 0;
+ virtual void GetDevices(std::vector<VRServiceImpl*>* clients,
+ std::vector<VRDevice*>* devices) = 0;
// If the VR API requires initialization that should happen here.
- virtual void Initialize() = 0;
+ virtual void Initialize(std::vector<VRServiceImpl*>* clients) = 0;
virtual void PollEvents() {}
-
- virtual void SetClient(VRClientDispatcher* client) {}
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698