Index: device/geolocation/public/interfaces/geolocation_config.mojom |
diff --git a/device/geolocation/public/interfaces/geolocation_config.mojom b/device/geolocation/public/interfaces/geolocation_config.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7a6155fa528f98754124bb1c30f62cd7b6702233 |
--- /dev/null |
+++ b/device/geolocation/public/interfaces/geolocation_config.mojom |
@@ -0,0 +1,12 @@ |
+// 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 consumers to get privileged information. |
estark
2017/07/12 15:48:15
nit: this description seems a little vague. Does "
asimjour1
2017/07/12 18:03:58
Updated the comment to only contain the interface
|
+interface GeolocationConfig { |
+ // Returns true if the location is being captured and high_accurary is |
+ // enabled. |
+ IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy); |
+}; |