Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: device/sensors/public/cpp/device_light_data.h

Issue 2845763002: Remove DeviceLightEvent implementation (Closed)
Patch Set: same as previous patch Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
6 #define DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
7
8 namespace device {
9
10 // This struct is intentionally POD and fixed size so that it can be stored
11 // in shared memory between the sensor interface impl and its clients.
12 // POD class should be a struct, should have an inline cstor that uses
13 // initializer lists and no dstor.
14 struct DeviceLightData {
15 DeviceLightData() : value(-1) {}
16 double value;
17 };
18
19 } // namespace device
20
21 #endif // DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
OLDNEW
« no previous file with comments | « device/sensors/public/cpp/BUILD.gn ('k') | device/sensors/public/cpp/device_light_hardware_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698