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

Unified Diff: device/generic_sensor/public/cpp/sensor_struct_traits.cc

Issue 2927263002: Add |notify_client_on_reading_change| flag to sensor configuration (Closed)
Patch Set: address nit Created 3 years, 6 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
Index: device/generic_sensor/public/cpp/sensor_struct_traits.cc
diff --git a/device/generic_sensor/public/cpp/sensor_struct_traits.cc b/device/generic_sensor/public/cpp/sensor_struct_traits.cc
index 2a36547a38cae03b3c3932ec2bfb8b36578c2627..a007b679c483126f2bac2e94945cc28d4cc24277 100644
--- a/device/generic_sensor/public/cpp/sensor_struct_traits.cc
+++ b/device/generic_sensor/public/cpp/sensor_struct_traits.cc
@@ -19,6 +19,7 @@ bool StructTraits<device::mojom::SensorConfigurationDataView,
}
out->set_frequency(data.frequency());
+ out->set_suppress_on_change_events(data.suppress_on_change_events());
return true;
}

Powered by Google App Engine
This is Rietveld 408576698