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