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..0bf5dd75e2dafbbcbc04a05cbbe016ad5cb2027e |
--- /dev/null |
+++ b/device/geolocation/public/interfaces/geolocation_config.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; |
+ |
+// Provides an interface for browser process to access geolocation capturing |
+// config. |
+interface GeolocationConfig { |
+ // Returns true if the location is being captured and high_accuracy is |
+ // enabled. |
+ IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy); |
+}; |