Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1633)

Unified Diff: device/generic_sensor/public/interfaces/sensor.mojom

Issue 2288103002: [sensors] Add GetDefaultConfiguration() to generic sensor mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/generic_sensor/platform_sensor.h ('k') | device/generic_sensor/sensor_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/public/interfaces/sensor.mojom
diff --git a/device/generic_sensor/public/interfaces/sensor.mojom b/device/generic_sensor/public/interfaces/sensor.mojom
index 065c2b2839c38958d0da828d70c8b06a5f96bdc8..10baff49d2cfebe0b91178a46a26447d6d4b3920 100644
--- a/device/generic_sensor/public/interfaces/sensor.mojom
+++ b/device/generic_sensor/public/interfaces/sensor.mojom
@@ -35,6 +35,10 @@ struct SensorConfiguration {
// Interface for controlling the Sensor.
interface Sensor {
+
+ // Requests sensor to provide its default configuration.
+ GetDefaultConfiguration() => (SensorConfiguration configuration);
+
// Requests sensor to start reading sensor data with specified
// SensorConfiguration.
// Sensor holds the list of added configurations and it always polls
« no previous file with comments | « device/generic_sensor/platform_sensor.h ('k') | device/generic_sensor/sensor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698