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

Unified Diff: device/vr/test/fake_vr_device.h

Issue 2658643003: Refactor GvrDelegate ownership into GvrDelegateProvider and fix more threading violations. (Closed)
Patch Set: cleanup Created 3 years, 11 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/test/fake_vr_device.h
diff --git a/device/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h
index 188d82e7dce4b1fcb6a5c3838512890811568bca..178610eaacccb3238c582e93013b4402d0da1806 100644
--- a/device/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -22,7 +22,9 @@ class FakeVRDevice : public VRDevice {
void SetVRDevice(const mojom::VRDisplayInfoPtr& device);
- mojom::VRDisplayInfoPtr GetVRDevice() override;
+ // VRDevice
+ void GetVRDevice(
+ const base::Callback<void(mojom::VRDisplayInfoPtr)>& callback) override;
void ResetPose() override;
void RequestPresent(const base::Callback<void(bool)>& callback) override;

Powered by Google App Engine
This is Rietveld 408576698