Fix typo in gn ccache support for linux:x86
[chromium-blink-merge.git] / content / common / geolocation_service.mojom
bloba9c4e48864649236c9664510c8b84187225c99e5
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 module content;
7 import "content/public/common/mojo_geoposition.mojom";
9 // The Geolocation service provides updates on the device's location.  By
10 // default, it provides updates with low accuracy, but |SetHighAccuracy()| may
11 // be called to change this.
12 interface GeolocationService {
13   SetHighAccuracy(bool high_accuracy);
15   // Position is reported once it changes or immediately (to report the initial
16   // position) if this is the first call to QueryNextPosition on this instance.
17   // Position updates may be throttled by the service. Overlapping calls to
18   // this method are prohibited and will be treated as a connection error.
19   QueryNextPosition() => (MojoGeoposition geoposition);