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

Unified Diff: device/sensors/public/cpp/device_light_data.h

Issue 2389963003: Move device_sensors cross-process headers out of //content (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/sensors/public/cpp/DEPS ('k') | device/sensors/public/cpp/device_light_hardware_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/public/cpp/device_light_data.h
diff --git a/content/common/device_sensors/device_light_data.h b/device/sensors/public/cpp/device_light_data.h
similarity index 61%
rename from content/common/device_sensors/device_light_data.h
rename to device/sensors/public/cpp/device_light_data.h
index 08140566826dc995efd19027b7d1e7e850b293ed..d0aba2cc16f0782dd5ed9bd241ebbecf8899bf88 100644
--- a/content/common/device_sensors/device_light_data.h
+++ b/device/sensors/public/cpp/device_light_data.h
@@ -2,15 +2,13 @@
// 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"
+#ifndef DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
+#define DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
namespace content {
// This struct is intentionally POD and fixed size so that it can be stored
-// in shared memory between the browser and the renderer processes.
+// in shared memory between the sensor interface impl and its clients.
// POD class should be a struct, should have an inline cstor that uses
// initializer lists and no dstor.
struct DeviceLightData {
@@ -20,4 +18,4 @@ struct DeviceLightData {
} // namespace content
-#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_
+#endif // DEVICE_SENSORS_PUBLIC_CPP_DEVICE_LIGHT_DATA_H_
« no previous file with comments | « device/sensors/public/cpp/DEPS ('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