| Index: third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
|
| diff --git a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
|
| index e4dfaa98bc634f49fe1fe27e8b7cd1fb8a492919..fc89f5407584eaa57d837ad5ab1825b271abdf7b 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
|
| @@ -14,6 +14,7 @@
|
| namespace blink {
|
|
|
| class SensorProxy;
|
| +class SensorReadingFactory;
|
|
|
| // This class wraps 'SensorProvider' mojo interface and it manages
|
| // 'SensorProxy' instances.
|
| @@ -28,7 +29,10 @@ class SensorProviderProxy final
|
|
|
| ~SensorProviderProxy();
|
|
|
| - SensorProxy* getOrCreateSensor(device::mojom::blink::SensorType);
|
| + SensorProxy* createSensor(device::mojom::blink::SensorType,
|
| + std::unique_ptr<SensorReadingFactory>);
|
| +
|
| + SensorProxy* getSensor(device::mojom::blink::SensorType);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|