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

Unified Diff: device/generic_sensor/sensor_impl.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 | « device/generic_sensor/public/interfaces/sensor.mojom ('k') | device/generic_sensor/sensor_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/sensor_impl.h
diff --git a/device/generic_sensor/sensor_impl.h b/device/generic_sensor/sensor_impl.h
index cf5284b15952873592f9a2d2b18d7e9bfec4ca6a..ea501236014d5761f943fc1d82f25f3cacdf1013 100644
--- a/device/generic_sensor/sensor_impl.h
+++ b/device/generic_sensor/sensor_impl.h
@@ -26,6 +26,8 @@ class SensorImpl final : public mojom::Sensor, public PlatformSensor::Client {
// Sensor implementation.
void AddConfiguration(const PlatformSensorConfiguration& configuration,
const AddConfigurationCallback& callback) override;
+ void GetDefaultConfiguration(
+ const GetDefaultConfigurationCallback& callback) override;
void RemoveConfiguration(
const PlatformSensorConfiguration& configuration,
const RemoveConfigurationCallback& callback) override;
« no previous file with comments | « device/generic_sensor/public/interfaces/sensor.mojom ('k') | device/generic_sensor/sensor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698