[Android WebView] invoke geolocation error callback when no sufficient permissions.
commitd817226815d85c0660c14efc8acb064bfc9ca1e6
authortimvolodine <timvolodine@chromium.org>
Tue, 14 Apr 2015 18:26:06 +0000 (14 11:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Apr 2015 18:28:15 +0000 (14 18:28 +0000)
treeb657e15279b6662e99e9379de46804e4a43714e2
parent112d3a10766068d03e9ba3f182aae88f0dfe632c
[Android WebView] invoke geolocation error callback when no sufficient permissions.

Currently if the app using WebView does not have geolocation permissions no JavaScript
geolocation callbacks are executed. This patch ensures that the error callback is
executed in this case.

BUG=472655

Review URL: https://codereview.chromium.org/1050953002

Cr-Commit-Position: refs/heads/master@{#325087}
content/public/android/java/src/org/chromium/content/browser/LocationProviderFactory.java
content/public/android/java/src/org/chromium/content/browser/OWNERS