| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SENSORS_AMBIENT_LIGHT_MAC_H_ | 5 #ifndef SERVICE_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_ |
| 6 #define DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_ | 6 #define SERVICE_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_ |
| 7 | 7 |
| 8 #include <IOKit/IOKitLib.h> | 8 #include <IOKit/IOKitLib.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 | 14 |
| 15 namespace device { | 15 namespace device { |
| 16 | 16 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 bool Init(); | 33 bool Init(); |
| 34 | 34 |
| 35 // IOKit connection to the local sensor. | 35 // IOKit connection to the local sensor. |
| 36 io_connect_t io_connection_; | 36 io_connect_t io_connection_; |
| 37 | 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(AmbientLightSensor); | 38 DISALLOW_COPY_AND_ASSIGN(AmbientLightSensor); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace device | 41 } // namespace device |
| 42 | 42 |
| 43 #endif // DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_ | 43 #endif // SERVICE_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_ |
| OLD | NEW |