| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_CPP_ORIENTATION_DATA_H_ | 5 #ifndef SERVICES_DEVICE_PUBLIC_CPP_SENSORS_ORIENTATION_DATA_H_ |
| 6 #define DEVICE_SENSORS_PUBLIC_CPP_ORIENTATION_DATA_H_ | 6 #define SERVICES_DEVICE_PUBLIC_CPP_SENSORS_ORIENTATION_DATA_H_ |
| 7 | 7 |
| 8 namespace device { | 8 namespace device { |
| 9 | 9 |
| 10 #pragma pack(push, 1) | 10 #pragma pack(push, 1) |
| 11 | 11 |
| 12 class OrientationData { | 12 class OrientationData { |
| 13 public: | 13 public: |
| 14 OrientationData(); | 14 OrientationData(); |
| 15 ~OrientationData() {} | 15 ~OrientationData() {} |
| 16 | 16 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 static_assert(sizeof(OrientationData) == | 30 static_assert(sizeof(OrientationData) == |
| 31 (3 * sizeof(double) + 1 * sizeof(char)), | 31 (3 * sizeof(double) + 1 * sizeof(char)), |
| 32 "OrientationData has wrong size"); | 32 "OrientationData has wrong size"); |
| 33 | 33 |
| 34 #pragma pack(pop) | 34 #pragma pack(pop) |
| 35 | 35 |
| 36 } // namespace device | 36 } // namespace device |
| 37 | 37 |
| 38 #endif // DEVICE_SENSORS_PUBLIC_CPP_ORIENTATION_DATA_H_ | 38 #endif // SERVICES_DEVICE_PUBLIC_CPP_SENSORS_ORIENTATION_DATA_H_ |
| OLD | NEW |