summaryrefslogtreecommitdiff
path: root/chromium/device/vr/openxr/openxr_statics.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/device/vr/openxr/openxr_statics.h
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/device/vr/openxr/openxr_statics.h')
-rw-r--r--chromium/device/vr/openxr/openxr_statics.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/device/vr/openxr/openxr_statics.h b/chromium/device/vr/openxr/openxr_statics.h
index 0b41f576574..4663b8a41fa 100644
--- a/chromium/device/vr/openxr/openxr_statics.h
+++ b/chromium/device/vr/openxr/openxr_statics.h
@@ -8,6 +8,7 @@
#include <d3d11.h>
#include <memory>
+#include "build/build_config.h"
#include "device/vr/vr_export.h"
#include "third_party/openxr/src/include/openxr/openxr.h"
#include "third_party/openxr/src/include/openxr/openxr_platform.h"
@@ -22,10 +23,14 @@ class DEVICE_VR_EXPORT OpenXrStatics {
bool IsHardwareAvailable();
bool IsApiAvailable();
+#if defined(OS_WIN)
+ LUID GetLuid();
+#endif
+
private:
XrInstance instance_;
};
} // namespace device
-#endif // DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_STATICS_H_ \ No newline at end of file
+#endif // DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_STATICS_H_