Chromium Code Reviews| Index: device/geolocation/public/interfaces/geolocation_manager.mojom |
| diff --git a/device/geolocation/public/interfaces/geolocation_manager.mojom b/device/geolocation/public/interfaces/geolocation_manager.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..733e701ba762bc3cdcb22deccd6f002f90bc8a7c |
| --- /dev/null |
| +++ b/device/geolocation/public/interfaces/geolocation_manager.mojom |
| @@ -0,0 +1,13 @@ |
| +// 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; |
| + |
| +// The Geolocation manager provides a service for trusted consumers to get the |
|
Ken Rockot(use gerrit already)
2017/07/10 19:38:55
nit: please don't use the word "service" in an IPC
asimjour1
2017/07/10 20:45:50
Done.
|
| +// information across all the frames. |
| +interface GeolocationManager { |
|
Ken Rockot(use gerrit already)
2017/07/10 19:38:55
Maybe GeolocationConfig is a more accurate name?
asimjour1
2017/07/10 20:45:50
The name came from
https://bugs.chromium.org/p/chr
|
| + // Returns true if the location is being captured and high_accurary is |
| + // enabled. |
| + IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy); |
|
amp
2017/07/10 20:13:25
Why not add this to the existing geolocation.mojom
asimjour1
2017/07/10 20:45:50
Geolocation.mojom is per-frame interface and it is
|
| +}; |