Make USB permissions work in the new permission message system
[chromium-blink-merge.git] / content / browser / vr / vr_device_provider.h
blob7a0207ce8005f08cf97b593196f6fc46bdc2c4a0
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