OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ |
| 6 #define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 // This class is intentionally POD and fixed size so that it can be stored |
| 13 // in shared memory between the browser and the renderer processes. |
| 14 class DeviceLightData { |
| 15 public: |
| 16 CONTENT_EXPORT DeviceLightData(); |
| 17 ~DeviceLightData() {} |
| 18 |
| 19 double value; |
| 20 bool valueIsUpdated; |
| 21 }; |
| 22 |
| 23 } // namespace content |
| 24 |
| 25 #endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ |
OLD | NEW |