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

Unified Diff: device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java

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/android/java/src/org/chromium/device/sensors/DeviceSensors.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/DeviceSensors.java b/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java
similarity index 99%
rename from content/public/android/java/src/org/chromium/content/browser/DeviceSensors.java
rename to device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java
index e2e91f380f6d89a85484700bdceefc666fca27ab..90f59f8bd5c2b02ad7056a4e5716a693d08f8a0a 100644
--- a/content/public/android/java/src/org/chromium/content/browser/DeviceSensors.java
+++ b/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.content.browser;
+package org.chromium.device.sensors;
import android.content.Context;
import android.hardware.Sensor;
@@ -26,7 +26,7 @@ import java.util.Set;
/**
* Android implementation of the device {motion|orientation|light} APIs.
*/
-@JNINamespace("content")
+@JNINamespace("device")
class DeviceSensors implements SensorEventListener {
private static final String TAG = "cr.DeviceSensors";
@@ -612,7 +612,7 @@ class DeviceSensors implements SensorEventListener {
/**
* Native JNI calls,
- * see content/browser/device_sensors/sensor_manager_android.cc
+ * see device/sensors/sensor_manager_android.cc
*/
/**

Powered by Google App Engine
This is Rietveld 408576698