Index: third_party/WebKit/Source/modules/sensor/SensorProxy.h |
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.h b/third_party/WebKit/Source/modules/sensor/SensorProxy.h |
index 05c7c446b6f7d8a58ec576cd661ee3a616593ddb..69311deacc6ab61d8d59341b344deedcad3b7048 100644 |
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.h |
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.h |
@@ -67,6 +67,8 @@ class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>, |
const device::mojom::blink::SensorConfiguration* defaultConfig() const; |
+ double maxSupportedFrequency() const; |
+ |
// Updates internal reading from shared buffer. |
void updateInternalReading(); |
@@ -106,6 +108,7 @@ class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>, |
mojo::ScopedSharedBufferMapping m_sharedBuffer; |
Reading m_reading; |
bool m_suspended; |
+ double m_maxSupportedFrequency; |
using ReadingBuffer = device::SensorReadingSharedBuffer; |
static_assert( |
sizeof(ReadingBuffer) == |