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

Unified Diff: device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java

Issue 2679323004: Android: Restructure geolocation folder structure (Closed)
Patch Set: Update deps Created 3 years, 10 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/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java
diff --git a/device/geolocation/android/java/org/chromium/device/geolocation/LocationProviderAdapter.java b/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java
similarity index 85%
rename from device/geolocation/android/java/org/chromium/device/geolocation/LocationProviderAdapter.java
rename to device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java
index 5eb7ab5244a7f612d0c12e97a2e188d617468ed4..097784bb6f4a6506fb8fc6f8f01ecfe5180a6c92 100644
--- a/device/geolocation/android/java/org/chromium/device/geolocation/LocationProviderAdapter.java
+++ b/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java
@@ -24,7 +24,6 @@ import java.util.concurrent.FutureTask;
@MainDex
@VisibleForTesting
public class LocationProviderAdapter {
-
// Delegate handling the real work in the main thread.
private LocationProviderFactory.LocationProvider mImpl;
@@ -77,10 +76,8 @@ public class LocationProviderAdapter {
}
public static void newLocationAvailable(double latitude, double longitude, double timestamp,
- boolean hasAltitude, double altitude,
- boolean hasAccuracy, double accuracy,
- boolean hasHeading, double heading,
- boolean hasSpeed, double speed) {
+ boolean hasAltitude, double altitude, boolean hasAccuracy, double accuracy,
+ boolean hasHeading, double heading, boolean hasSpeed, double speed) {
nativeNewLocationAvailable(latitude, longitude, timestamp, hasAltitude, altitude,
hasAccuracy, accuracy, hasHeading, heading, hasSpeed, speed);
}
@@ -90,11 +87,8 @@ public class LocationProviderAdapter {
}
// Native functions
- private static native void nativeNewLocationAvailable(
- double latitude, double longitude, double timeStamp,
- boolean hasAltitude, double altitude,
- boolean hasAccuracy, double accuracy,
- boolean hasHeading, double heading,
- boolean hasSpeed, double speed);
+ private static native void nativeNewLocationAvailable(double latitude, double longitude,
+ double timeStamp, boolean hasAltitude, double altitude, boolean hasAccuracy,
+ double accuracy, boolean hasHeading, double heading, boolean hasSpeed, double speed);
private static native void nativeNewErrorAvailable(String message);
}

Powered by Google App Engine
This is Rietveld 408576698