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

Unified Diff: device/generic_sensor/platform_sensor.h

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 | « no previous file | device/generic_sensor/public/interfaces/sensor.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/platform_sensor.h
diff --git a/device/generic_sensor/platform_sensor.h b/device/generic_sensor/platform_sensor.h
index 0eeb247332df3ced66eda12cc73074bee5cb3abe..2019d343af4eb9410b82e75a36c84029f356725c 100644
--- a/device/generic_sensor/platform_sensor.h
+++ b/device/generic_sensor/platform_sensor.h
@@ -36,6 +36,7 @@ class PlatformSensor : public base::RefCountedThreadSafe<PlatformSensor> {
};
virtual mojom::ReportingMode GetReportingMode() = 0;
+ virtual PlatformSensorConfiguration GetDefaultConfiguration() = 0;
mojom::SensorType GetType() const;
« no previous file with comments | « no previous file | device/generic_sensor/public/interfaces/sensor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698