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

Unified Diff: device/sensors/sensor_manager_android_unittest.cc

Issue 2646093002: Move //content/browser/device_sensor/ into device/sensors (Closed)
Patch Set: update git log 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/sensor_manager_android_unittest.cc
diff --git a/content/browser/device_sensors/sensor_manager_android_unittest.cc b/device/sensors/sensor_manager_android_unittest.cc
similarity index 97%
rename from content/browser/device_sensors/sensor_manager_android_unittest.cc
rename to device/sensors/sensor_manager_android_unittest.cc
index 98137aae84ddd156a091eadfe914d8ad18128696..b584eed15699e37d9a676029ef6a4279a71b1f9b 100644
--- a/content/browser/device_sensors/sensor_manager_android_unittest.cc
+++ b/device/sensors/sensor_manager_android_unittest.cc
@@ -2,17 +2,17 @@
// 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_android.h"
+#include "device/sensors/sensor_manager_android.h"
#include <memory>
#include "base/android/jni_android.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
-#include "content/browser/device_sensors/device_sensors_consts.h"
+#include "device/sensors/device_sensors_consts.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
+namespace device {
namespace {
@@ -52,7 +52,9 @@ class AndroidSensorManagerTest : public testing::Test {
void VerifyOrientationBufferValues(
const DeviceOrientationHardwareBuffer* buffer,
- double alpha, double beta, double gamma) {
+ double alpha,
+ double beta,
+ double gamma) {
ASSERT_TRUE(buffer->data.allAvailableSensorsAreActive);
ASSERT_EQ(alpha, buffer->data.alpha);
ASSERT_TRUE(buffer->data.hasAlpha);
@@ -189,4 +191,4 @@ TEST_F(AndroidSensorManagerTest, DeviceLightSensorsActive) {
} // namespace
-} // namespace content
+} // namespace device

Powered by Google App Engine
This is Rietveld 408576698