We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / content / common / device_sensors / device_light_data.h
blob08140566826dc995efd19027b7d1e7e850b293ed
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.
5 #ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
6 #define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
8 #include "content/common/content_export.h"
10 namespace content {
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.
14 // POD class should be a struct, should have an inline cstor that uses
15 // initializer lists and no dstor.
16 struct DeviceLightData {
17 DeviceLightData() : value(-1) {}
18 double value;
21 } // namespace content
23 #endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_