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

Side by Side Diff: device/device_sensors/device_light_data.h

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ 5 #ifndef DEVICE_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
6 #define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ 6 #define DEVICE_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
7 7
8 #include "content/common/content_export.h" 8 #include "device/device_sensors/device_sensors_export.h"
9 9
10 namespace content { 10 namespace device {
11 11
12 // This struct is intentionally POD and fixed size so that it can be stored 12 // This struct is intentionally POD and fixed size so that it can be stored
13 // in shared memory between the browser and the renderer processes. 13 // in shared memory between the browser and the renderer processes.
14 // POD class should be a struct, should have an inline cstor that uses 14 // POD class should be a struct, should have an inline cstor that uses
15 // initializer lists and no dstor. 15 // initializer lists and no dstor.
16 struct DeviceLightData { 16 struct DeviceLightData {
17 DeviceLightData() : value(-1) {} 17 DeviceLightData() : value(-1) {}
18 double value; 18 double value;
19 }; 19 };
20 20
21 } // namespace content 21 } // namespace device
22 22
23 #endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ 23 #endif // DEVICE_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
OLDNEW
« no previous file with comments | « device/device_sensors/device_inertial_sensor_service.cc ('k') | device/device_sensors/device_light_hardware_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698