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

Side by Side Diff: device/generic_sensor/iio/sensor_data_iio.h

Issue 2370343002: [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: Rebased. Comments from Mikhail Created 4 years, 2 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 2016 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_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_
6 #define DEVICE_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_
7
8 #include "device/generic_sensor/public/interfaces/sensor.mojom.h"
9
10 namespace device {
11
12 struct SensorDataIio {
Mikhail 2016/10/17 10:34:12 pls add description comments for the structure and
maksims (do not use this acc) 2016/10/18 06:50:42 Done.
13 static const char* base_path_sensor_iio;
Mikhail 2016/10/17 10:34:11 does not have to be static
maksims (do not use this acc) 2016/10/18 06:50:42 Done.
14 const char** sensor_file_names[3];
15 size_t sensor_file_names_cols;
16 size_t sensor_file_names_rows;
17 mojom::ReportingMode reporting_mode;
18 PlatformSensorConfiguration default_configuration;
19 };
20
21 bool CreateSensorData(mojom::SensorType type, SensorDataIio* data);
Mikhail 2016/10/17 10:34:11 InitSensorData
maksims (do not use this acc) 2016/10/18 06:50:42 Done.
22
23 } // namespace device
24
25 #endif // DEVICE_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698