Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / browser / vr / vr_device_provider.h
blob9a4910a47332819f91322b57362210f008ce754c
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_VR_VR_DEVICE_PROVIDER_H
6 #define CONTENT_BROWSER_VR_VR_DEVICE_PROVIDER_H
8 #include <vector>
10 namespace content {
12 class VRDevice;
14 class VRDeviceProvider {
15 public:
16 VRDeviceProvider() {}
17 virtual ~VRDeviceProvider() {}
19 virtual void GetDevices(std::vector<VRDevice*>* devices) = 0;
21 // If the VR API requires initialization that should happen here.
22 virtual void Initialize() = 0;
25 } // namespace content
27 #endif // CONTENT_BROWSER_VR_VR_DEVICE_PROVIDER_H