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..272acaad359a69fe940451beec73e4e4cac061a7 |
--- /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 an interface for trusted consumers to get the |
+// information across all the frames. |
blundell
2017/07/11 09:08:34
nit: // Provides an interface for trusted consumer
asimjour1
2017/07/11 15:04:12
Done.
|
+interface GeolocationManager { |
blundell
2017/07/11 09:08:34
I suggested the name GeolocationManager to you, bu
asimjour1
2017/07/11 15:04:12
Done.
|
+ // Returns true if the location is being captured and high_accurary is |
+ // enabled. |
+ IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy); |
+}; |