Add GeolocationConfig interface

Desktop / Chromium - asimjour [chromium.org] - 12 July 2017 18:04 EDT

GeolocationConfig is designed to be used from the chrome/browser. For now the only method is IsHighAccuracyLocationBeingCaptured, that indicates if the location is captured with high_accuracy=enabled flag.

BUG=731758

Review-Url: https://codereview.chromium.org/2975683002 Cr-Commit-Position: refs/heads/master@{#486123}

839ce1b Add GeolocationConfig interface
chrome/browser/android/vr_shell/BUILD.gn | 1 +
chrome/browser/android/vr_shell/vr_gl_thread.cc | 6 ++++
chrome/browser/android/vr_shell/vr_gl_thread.h | 1 +
chrome/browser/android/vr_shell/vr_shell.cc | 18 +++++++++-
chrome/browser/android/vr_shell/vr_shell.h | 5 +++
chrome/browser/vr/ui_interface.h | 1 +
.../service_manager/common_browser_interfaces.cc | 2 ++
.../public/app/mojo/content_browser_manifest.json | 11 +++++-
device/geolocation/BUILD.gn | 2 ++
device/geolocation/geolocation_config.cc | 30 +++++++++++++++++
device/geolocation/geolocation_config.h | 39 ++++++++++++++++++++++
device/geolocation/geolocation_provider.h | 2 ++
device/geolocation/geolocation_provider_impl.cc | 4 +++
device/geolocation/geolocation_provider_impl.h | 1 +
device/geolocation/public/interfaces/BUILD.gn | 1 +
.../public/interfaces/geolocation_config.mojom | 13 ++++++++
16 files changed, 135 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share