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

Unified Diff: device/sensors/sensor_manager_chromeos.cc

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
« no previous file with comments | « device/sensors/sensor_manager_chromeos.h ('k') | device/sensors/sensor_manager_chromeos_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/sensor_manager_chromeos.cc
diff --git a/content/browser/device_sensors/sensor_manager_chromeos.cc b/device/sensors/sensor_manager_chromeos.cc
similarity index 96%
rename from content/browser/device_sensors/sensor_manager_chromeos.cc
rename to device/sensors/sensor_manager_chromeos.cc
index 55019ea4aa4027e9b203e0904cb43998b9e26f43..02dfb93f183d67cbd0473540bc58a3bc541ac21e 100644
--- a/content/browser/device_sensors/sensor_manager_chromeos.cc
+++ b/device/sensors/sensor_manager_chromeos.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/device_sensors/sensor_manager_chromeos.h"
+#include "device/sensors/sensor_manager_chromeos.h"
#include <math.h>
#include "chromeos/accelerometer/accelerometer_reader.h"
#include "chromeos/accelerometer/accelerometer_types.h"
-#include "content/browser/device_sensors/device_sensors_consts.h"
+#include "device/sensors/device_sensors_consts.h"
#include "ui/gfx/geometry/vector3d_f.h"
namespace {
@@ -16,7 +16,7 @@ namespace {
const double kRad2deg = 180.0 / M_PI;
}
-namespace content {
+namespace device {
SensorManagerChromeOS::SensorManagerChromeOS()
: motion_buffer_(nullptr), orientation_buffer_(nullptr) {
@@ -165,4 +165,4 @@ void SensorManagerChromeOS::GenerateOrientationEvent(double x,
orientation_buffer_->seqlock.WriteEnd();
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/sensors/sensor_manager_chromeos.h ('k') | device/sensors/sensor_manager_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698