| 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);
|
| }
|
|
|