| // Copyright 2017 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| module device.mojom; | |
| // Provides an interface for trusted clients (e.g., the browser process | |
| // in Chrome) to access geolocation capturing config. | |
| interface GeolocationConfig { | |
| // Returns true if the location is being captured and high_accuracy is | |
| // enabled. | |
| IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy); | |
| }; |