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

Unified Diff: device/generic_sensor/platform_sensor_configuration.h

Issue 2306333002: [sensors] Add Generic Sensor platform unit tests. (Closed)
Patch Set: Generic Sensor Unittest Created 4 years, 3 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/platform_sensor_configuration.h
diff --git a/device/generic_sensor/platform_sensor_configuration.h b/device/generic_sensor/platform_sensor_configuration.h
index 8cebb0ca8dd0aa2f564de6dbda2c3d1e68e7edda..0a87aa21a26a479e788106028d0b366bc4d1eb34 100644
--- a/device/generic_sensor/platform_sensor_configuration.h
+++ b/device/generic_sensor/platform_sensor_configuration.h
@@ -16,6 +16,7 @@ class PlatformSensorConfiguration {
~PlatformSensorConfiguration();
bool operator==(const PlatformSensorConfiguration& other) const;
+ virtual bool operator>(const PlatformSensorConfiguration& other) const;
void set_frequency(double frequency) {
DCHECK(frequency_ <= kMaxAllowedFrequency && frequency_ > 0.0);

Powered by Google App Engine
This is Rietveld 408576698