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

Unified Diff: device/generic_sensor/public/interfaces/sensor_provider.mojom

Issue 2395853003: [Sensors] Improvements in shared buffer managing (Closed)
Patch Set: Created 4 years, 2 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/interfaces/sensor_provider.mojom
diff --git a/device/generic_sensor/public/interfaces/sensor_provider.mojom b/device/generic_sensor/public/interfaces/sensor_provider.mojom
index b7e4d2b9caaa6e6ff6b30255165adefece7a4b28..dc8343ce144fb9b10614342457a0eceb35fc59e3 100644
--- a/device/generic_sensor/public/interfaces/sensor_provider.mojom
+++ b/device/generic_sensor/public/interfaces/sensor_provider.mojom
@@ -18,11 +18,6 @@ struct SensorInitParams {
// Default sensor configuration.
SensorConfiguration default_configuration;
-
- // Note: Each sensor's read buffer contains 4 tightly packed 64-bit floating
- // point fields, its layout is: { double timestamp; double values[3] }.
- // So it has a fixed size 4*8 = 32 bytes.
- const uint64 kReadBufferSize = 32;
};
interface SensorProvider {

Powered by Google App Engine
This is Rietveld 408576698