| 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_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ | 5 #ifndef DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ |
| 6 #define DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ | 6 #define DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ |
| 7 | 7 |
| 8 #include "device/generic_sensor/platform_sensor_provider.h" | 8 #include "device/generic_sensor/platform_sensor_provider.h" |
| 9 | 9 |
| 10 #include "device/generic_sensor/linux/platform_sensor_manager.h" | 10 #include "device/generic_sensor/linux/sensor_device_manager.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 template <typename T> | 13 template <typename T> |
| 14 struct DefaultSingletonTraits; | 14 struct DefaultSingletonTraits; |
| 15 class Thread; | 15 class Thread; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace device { | 18 namespace device { |
| 19 | 19 |
| 20 struct SensorInfoLinux; | 20 struct SensorInfoLinux; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // provider to stop a polling thread and passed to a manager that | 111 // provider to stop a polling thread and passed to a manager that |
| 112 // runs a linux device monitor service on this task runner. | 112 // runs a linux device monitor service on this task runner. |
| 113 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; | 113 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderLinux); | 115 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderLinux); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace device | 118 } // namespace device |
| 119 | 119 |
| 120 #endif // DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ | 120 #endif // DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ |
| OLD | NEW |