OLD | NEW |
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_GENERIC_SENSOR_LINUX_PLATFORM_SENSOR_MANAGER_H_ | 5 #ifndef DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_ |
6 #define DEVICE_GENERIC_SENSOR_LINUX_PLATFORM_SENSOR_MANAGER_H_ | 6 #define DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_ |
7 | 7 |
8 #include "base/scoped_observer.h" | 8 #include "base/scoped_observer.h" |
9 | 9 |
10 #include "device/base/device_monitor_linux.h" | 10 #include "device/base/device_monitor_linux.h" |
11 #include "device/generic_sensor/public/interfaces/sensor.mojom.h" | 11 #include "device/generic_sensor/public/interfaces/sensor.mojom.h" |
12 | 12 |
13 namespace device { | 13 namespace device { |
14 | 14 |
15 struct SensorInfoLinux; | 15 struct SensorInfoLinux; |
16 | 16 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 Delegate* delegate_; | 73 Delegate* delegate_; |
74 | 74 |
75 // A task runner, which |delegate_| lives on. | 75 // A task runner, which |delegate_| lives on. |
76 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 76 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(SensorDeviceManager); | 78 DISALLOW_COPY_AND_ASSIGN(SensorDeviceManager); |
79 }; | 79 }; |
80 | 80 |
81 } // namespace device | 81 } // namespace device |
82 | 82 |
83 #endif // DEVICE_GENERIC_SENSOR_LINUX_PLATFORM_SENSOR_MANAGER_H_ | 83 #endif // DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_ |
OLD | NEW |