Index: third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h |
diff --git a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h |
index ef0bff9d04f5ab20519ff80eec77180d2b9f0b60..ccbc2f8d78427f2088bf99201ca90bb6cca0aaff 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h |
+++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h |
@@ -6,14 +6,17 @@ |
#define VRGetDevicesCallback_h |
#include "platform/heap/Handle.h" |
-#include "public/platform/modules/vr/WebVRClient.h" |
+#include "public/platform/WebCallbacks.h" |
+#include "public/platform/WebVector.h" |
+#include "public/platform/modules/vr/WebVR.h" |
namespace blink { |
class VRHardwareUnitCollection; |
class ScriptPromiseResolver; |
-class WebVRClient; |
+// Success and failure callbacks for getDevices. |
+using WebVRGetDevicesCallback = WebCallbacks<const WebVector<WebVRDevice>&, void>; |
class VRGetDevicesCallback final : public WebVRGetDevicesCallback { |
USING_FAST_MALLOC(VRGetDevicesCallback); |
public: |