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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.h

Issue 2885373002: [Sensors] Simplify calculation of the reporting period (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/modules/sensor/Sensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
index 00e41793cc23ee8c7356d8a23c3dd3ddbc6d320f..8ef584430fb48de2c9f182d02ec8d5eb9bfe2b75 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -81,7 +81,7 @@ class Sensor : public EventTargetWithInlineData,
// SensorProxy::Observer overrides.
void OnSensorInitialized() override;
- void OnSensorReadingChanged(double timestamp) override;
+ void OnSensorReadingChanged() override;
void OnSensorError(ExceptionCode,
const String& sanitized_message,
const String& unsanitized_message) override;
@@ -115,7 +115,6 @@ class Sensor : public EventTargetWithInlineData,
Member<SensorProxy> sensor_proxy_;
device::SensorReading reading_;
SensorConfigurationPtr configuration_;
- double last_update_timestamp_;
bool pending_reading_update_;
};
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp ('k') | third_party/WebKit/Source/modules/sensor/Sensor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698