Description was changed from ========== RELAND: GeoLocation: add support for GmsCore location provider Original CL ...
3 years, 8 months ago
(2017-04-26 22:26:49 UTC)
#1
Description was changed from
==========
RELAND: GeoLocation: add support for GmsCore location provider
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
to
==========
RELAND: GeoLocation: add support for GmsCore location provider
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
mcasas
Description was changed from ========== RELAND: GeoLocation: add support for GmsCore location provider Original CL ...
3 years, 8 months ago
(2017-04-26 22:36:12 UTC)
#2
Description was changed from
==========
RELAND: GeoLocation: add support for GmsCore location provider
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
to
==========
RELAND: GeoLocation: add support for GmsCore location provider
The original CL got reverted because the CTS Test [1], that
expects Android Location provider to be used, failed.
[1]
https://android.googlesource.com/platform/cts/+/master/tests/tests/webkit/src...
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
mcasas
Patchset #1 (id:1) has been deleted
3 years, 8 months ago
(2017-04-26 23:59:45 UTC)
#3
Patchset #1 (id:1) has been deleted
mcasas
Patchset #1 (id:20001) has been deleted
3 years, 8 months ago
(2017-04-26 23:59:52 UTC)
#4
3 years, 8 months ago
(2017-04-27 01:36:07 UTC)
#6
sgurun@ as talked, ptal
mcasas
Description was changed from ========== RELAND: GeoLocation: add support for GmsCore location provider The original ...
3 years, 8 months ago
(2017-04-27 01:52:47 UTC)
#7
Description was changed from
==========
RELAND: GeoLocation: add support for GmsCore location provider
The original CL got reverted because the CTS Test [1], that
expects Android Location provider to be used, failed.
[1]
https://android.googlesource.com/platform/cts/+/master/tests/tests/webkit/src...
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
to
==========
RELAND: GeoLocation: add support for GmsCore location provider
The original CL got reverted because the CTS Test [1], that
expects Android Location provider to be used, failed. This CL adds a flag to
enable
explicitly the GMScore provider, and uses it
from Chrome.
[1]
https://android.googlesource.com/platform/cts/+/master/tests/tests/webkit/src...
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
On 2017/04/27 01:36:07, mcasas wrote: > sgurun@ as talked, ptal lgtm, cc'ing Ted as he ...
3 years, 7 months ago
(2017-04-27 17:15:04 UTC)
#9
On 2017/04/27 01:36:07, mcasas wrote:
> sgurun@ as talked, ptal
lgtm,
cc'ing Ted as he owns chrome/android
mcasas
Description was changed from ========== RELAND: GeoLocation: add support for GmsCore location provider The original ...
3 years, 7 months ago
(2017-04-27 18:07:24 UTC)
#10
Description was changed from
==========
RELAND: GeoLocation: add support for GmsCore location provider
The original CL got reverted because the CTS Test [1], that
expects Android Location provider to be used, failed. This CL adds a flag to
enable
explicitly the GMScore provider, and uses it
from Chrome.
[1]
https://android.googlesource.com/platform/cts/+/master/tests/tests/webkit/src...
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
==========
to
==========
RELAND: GeoLocation: add support for GmsCore location provider
The original CL got reverted because the CTS Test [1], that
expects Android Location provider to be used, failed. This CL adds a flag to
enable
explicitly the GMScore provider, and uses it
from Chrome.
[1]
https://android.googlesource.com/platform/cts/+/master/tests/tests/webkit/src...
Original CL description -----------------------------------------------
This CL adds LocationProviderGmsCore.java, an implementation
of LocationProviderFactory.LocationProvider interface using the
Google Play Services (GMS) provided location.
The tests content/public/.../LocationProviderTest.java are removed
and instead a new pumped up one is added in device/geolocation,
doing what the previous one was doing and parameterized to try
other location provider APIs (was: android only, now: mock,
android and GMS core).
BUG=706014
Review-Url: https://codereview.chromium.org/2809813002
Cr-Commit-Position: refs/heads/master@{#466239}
Committed:
https://chromium.googlesource.com/chromium/src/+/638d9c4adea26e0f8a9d2e429546...
patch from issue 2809813002 at patchset 260001
(http://crrev.com/2809813002#ps260001)
TBR= aelias@chromium.org, reillyg@chromium.org, agrieve@chromium.org who LGTM
PS1
==========
Ted C
https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java (right): https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java#newcode393 chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:393: LocationProviderFactory.useGmsCoreLocationProvider(); Not everything in Chrome goes through ChromeActivity (preferences ...
3 years, 7 months ago
(2017-04-27 18:20:44 UTC)
#11
ptal https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java (right): https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java#newcode393 chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:393: LocationProviderFactory.useGmsCoreLocationProvider(); On 2017/04/27 18:20:44, Ted C wrote: > ...
3 years, 7 months ago
(2017-04-27 18:35:31 UTC)
#12
ptal
https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src...
File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
(right):
https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:393:
LocationProviderFactory.useGmsCoreLocationProvider();
On 2017/04/27 18:20:44, Ted C wrote:
> Not everything in Chrome goes through ChromeActivity (preferences for
example).
>
> If we want this to be more universally done, I think we should put it in:
>
>
https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chr...
>
> I think we could put this in pre or post native as it simply sets a boolean.
If
> we think there is ever a chance we'll use this before native then let's just
do
> pre as a "pre"caution (yuk, yuk, yuk)
Done, thanks. I moved it to
handlePreNativeInitialization() since the
LocationProviderFactory is called from native.
3 years, 7 months ago
(2017-04-27 18:37:39 UTC)
#13
On 2017/04/27 18:35:31, mcasas wrote:
> ptal
>
>
https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src...
> File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
> (right):
>
>
https://codereview.chromium.org/2836213002/diff/60001/chrome/android/java/src...
> chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:393:
> LocationProviderFactory.useGmsCoreLocationProvider();
> On 2017/04/27 18:20:44, Ted C wrote:
> > Not everything in Chrome goes through ChromeActivity (preferences for
> example).
> >
> > If we want this to be more universally done, I think we should put it in:
> >
> >
>
https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chr...
> >
> > I think we could put this in pre or post native as it simply sets a boolean.
> If
> > we think there is ever a chance we'll use this before native then let's just
> do
> > pre as a "pre"caution (yuk, yuk, yuk)
>
> Done, thanks. I moved it to
> handlePreNativeInitialization() since the
> LocationProviderFactory is called from native.
lgtm
mcasas
The CQ bit was checked by mcasas@chromium.org
3 years, 7 months ago
(2017-04-27 19:33:49 UTC)
#14
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/414391)
3 years, 7 months ago
(2017-04-27 20:00:50 UTC)
#18
Issue 2836213002: RELAND: GeoLocation: add support for GmsCore location provider
(Closed)
Created 3 years, 8 months ago by mcasas
Modified 3 years, 7 months ago
Reviewers: sgurun-gerrit only, Ted C
Base URL:
Comments: 2