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

Side by Side Diff: device/vr/android/gvr/gvr_device_provider.h

Issue 2542903002: device: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « device/usb/usb_service_linux.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "device/vr/vr_device.h" 13 #include "device/vr/vr_device.h"
14 #include "device/vr/vr_device_provider.h" 14 #include "device/vr/vr_device_provider.h"
15 #include "device/vr/vr_export.h" 15 #include "device/vr/vr_export.h"
16 16
17 namespace device { 17 namespace device {
18 18
19 class GvrDelegateProvider;
20 class GvrDelegate; 19 class GvrDelegate;
21 class GvrDevice; 20 class GvrDevice;
22 class VRServiceImpl;
23 21
24 class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider { 22 class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider {
25 public: 23 public:
26 GvrDeviceProvider(); 24 GvrDeviceProvider();
27 ~GvrDeviceProvider() override; 25 ~GvrDeviceProvider() override;
28 26
29 void GetDevices(std::vector<VRDevice*>* devices) override; 27 void GetDevices(std::vector<VRDevice*>* devices) override;
30 void Initialize() override; 28 void Initialize() override;
31 29
32 void SetListeningForActivate(bool listening) override; 30 void SetListeningForActivate(bool listening) override;
(...skipping 14 matching lines...) Expand all
47 std::unique_ptr<GvrDevice> vr_device_; 45 std::unique_ptr<GvrDevice> vr_device_;
48 46
49 base::WeakPtrFactory<GvrDeviceProvider> weak_ptr_factory_; 47 base::WeakPtrFactory<GvrDeviceProvider> weak_ptr_factory_;
50 48
51 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider); 49 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider);
52 }; 50 };
53 51
54 } // namespace device 52 } // namespace device
55 53
56 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H 54 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H
OLDNEW
« no previous file with comments | « device/usb/usb_service_linux.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698