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

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

Issue 2029703002: Moving VR service from /content/browser to /device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added nogncheck to failing include Created 4 years, 6 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/android/vr_jni_registrar.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/test/fake_vr_device.h
diff --git a/content/browser/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h
similarity index 53%
rename from content/browser/vr/test/fake_vr_device.h
rename to device/vr/test/fake_vr_device.h
index edd206fb057fc070424528acdb233d5c4c7597e3..9417eaade3e564a6376044dee05a7197c87b40f6 100644
--- a/content/browser/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -2,34 +2,34 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_VR_TEST_FAKE_VR_DEVICE_H_
-#define CONTENT_BROWSER_VR_TEST_FAKE_VR_DEVICE_H_
+#ifndef DEVICE_VR_TEST_FAKE_VR_DEVICE_H_
+#define DEVICE_VR_TEST_FAKE_VR_DEVICE_H_
#include "base/macros.h"
-#include "content/browser/vr/vr_device.h"
-#include "content/browser/vr/vr_device_provider.h"
+#include "device/vr/vr_device.h"
+#include "device/vr/vr_device_provider.h"
-namespace content {
+namespace device {
class FakeVRDevice : public VRDevice {
public:
explicit FakeVRDevice(VRDeviceProvider* provider);
~FakeVRDevice() override;
- void SetVRDevice(const mojom::VRDisplayPtr& device);
- void SetPose(const mojom::VRPosePtr& state);
+ void SetVRDevice(const blink::mojom::VRDisplayPtr& device);
+ void SetPose(const blink::mojom::VRPosePtr& state);
blink::mojom::VRDisplayPtr GetVRDevice() override;
blink::mojom::VRPosePtr GetPose() override;
void ResetPose() override;
private:
- mojom::VRDisplayPtr device_;
- mojom::VRPosePtr state_;
+ blink::mojom::VRDisplayPtr device_;
+ blink::mojom::VRPosePtr pose_;
DISALLOW_COPY_AND_ASSIGN(FakeVRDevice);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_VR_TEST_FAKE_VR_DEVICE_H_
+#endif // DEVICE_VR_TEST_FAKE_VR_DEVICE_H_
« no previous file with comments | « device/vr/android/vr_jni_registrar.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698