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

Unified Diff: device/vr/test/fake_vr_device_provider.cc

Issue 2453973002: WIP WebVR mojo refactor (Closed)
Patch Set: Fixed crash. VR data doesn't seem to be polling correctly, though. 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/vr/test/fake_vr_device_provider.h ('k') | device/vr/vr_client_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/test/fake_vr_device_provider.cc
diff --git a/device/vr/test/fake_vr_device_provider.cc b/device/vr/test/fake_vr_device_provider.cc
index ab055d55dd655bbb265cf024161e389ad6c5efa3..c3dfb2be1e5484a16ba725f4fa8b23cd76c34ace 100644
--- a/device/vr/test/fake_vr_device_provider.cc
+++ b/device/vr/test/fake_vr_device_provider.cc
@@ -27,7 +27,8 @@ void FakeVRDeviceProvider::RemoveDevice(VRDevice* device) {
}
}
-void FakeVRDeviceProvider::GetDevices(std::vector<VRDevice*>* devices) {
+void FakeVRDeviceProvider::GetDevices(std::vector<VRServiceImpl*>* clients,
+ std::vector<VRDevice*>* devices) {
std::vector<VRDevice*>::iterator iter;
for (auto* device : devices_) {
@@ -35,7 +36,7 @@ void FakeVRDeviceProvider::GetDevices(std::vector<VRDevice*>* devices) {
}
}
-void FakeVRDeviceProvider::Initialize() {
+void FakeVRDeviceProvider::Initialize(std::vector<VRServiceImpl*>* clients) {
initialized_ = true;
}
« no previous file with comments | « device/vr/test/fake_vr_device_provider.h ('k') | device/vr/vr_client_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698