| Index: content/common/device_sensors/device_light_data.h
|
| diff --git a/content/common/device_sensors/device_light_data.h b/content/common/device_sensors/device_light_data.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ec9ea237f26e3ee90ce895ed951f48102b29546c
|
| --- /dev/null
|
| +++ b/content/common/device_sensors/device_light_data.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
|
| +#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +// This class is intentionally POD and fixed size so that it can be stored
|
| +// in shared memory between the browser and the renderer processes.
|
| +class DeviceLightData {
|
| + public:
|
| + CONTENT_EXPORT DeviceLightData();
|
| + ~DeviceLightData() {}
|
| +
|
| + double value;
|
| + bool valueIsUpdated;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
|
|
|