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

Unified Diff: device/sensors/data_fetcher_shared_memory.h

Issue 2646093002: Move //content/browser/device_sensor/ into device/sensors (Closed)
Patch Set: gn format & code rebase Created 3 years, 11 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
Index: device/sensors/data_fetcher_shared_memory.h
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory.h b/device/sensors/data_fetcher_shared_memory.h
similarity index 86%
rename from content/browser/device_sensors/data_fetcher_shared_memory.h
rename to device/sensors/data_fetcher_shared_memory.h
index 6b209ae289ec64d5c50d40dd02c3671749fa7771..8ad3074d46924e7cb4c339a933b1fc590d0c8ad4 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory.h
+++ b/device/sensors/data_fetcher_shared_memory.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
-#define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
+#ifndef DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
+#define DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
#include "base/macros.h"
#include "build/build_config.h"
-#include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
+#include "device/sensors/data_fetcher_shared_memory_base.h"
#if !defined(OS_ANDROID)
#include "device/sensors/public/cpp/device_light_hardware_buffer.h"
@@ -22,7 +22,7 @@ class SuddenMotionSensor;
#include "base/win/scoped_comptr.h"
#endif
-namespace content {
+namespace device {
#if defined(OS_CHROMEOS)
class SensorManagerChromeOS;
@@ -30,7 +30,7 @@ class SensorManagerChromeOS;
class AmbientLightSensor;
#endif
-class CONTENT_EXPORT DataFetcherSharedMemory
+class DEVICE_SENSOR_EXPORT DataFetcherSharedMemory
: public DataFetcherSharedMemoryBase {
public:
@@ -85,6 +85,6 @@ class CONTENT_EXPORT DataFetcherSharedMemory
DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
+#endif // DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_

Powered by Google App Engine
This is Rietveld 408576698