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_PLATFORM_SENSOR_READER_LINUX_H_ | 5 #ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ |
6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ | 6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "device/generic_sensor/generic_sensor_export.h" | |
10 | 9 |
11 namespace base { | 10 namespace base { |
12 class SingleThreadTaskRunner; | 11 class SingleThreadTaskRunner; |
13 } | 12 } |
14 | 13 |
15 namespace device { | 14 namespace device { |
16 | 15 |
17 class PlatformSensorLinux; | 16 class PlatformSensorLinux; |
18 class PlatformSensorConfiguration; | 17 class PlatformSensorConfiguration; |
19 struct SensorInfoLinux; | 18 struct SensorInfoLinux; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 56 |
58 // Indicates if reading is active. | 57 // Indicates if reading is active. |
59 bool is_reading_active_; | 58 bool is_reading_active_; |
60 | 59 |
61 DISALLOW_COPY_AND_ASSIGN(SensorReader); | 60 DISALLOW_COPY_AND_ASSIGN(SensorReader); |
62 }; | 61 }; |
63 | 62 |
64 } // namespace device | 63 } // namespace device |
65 | 64 |
66 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ | 65 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ |
OLD | NEW |