| Index: content/browser/device_sensors/data_fetcher_shared_memory_base.h
|
| diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.h b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
|
| index c959e8254fd6dfadb922289ce75e8e246663a1ec..fc1f031d49919785168247a0275b2b45113b7254 100644
|
| --- a/content/browser/device_sensors/data_fetcher_shared_memory_base.h
|
| +++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
|
| @@ -31,6 +31,10 @@ class CONTENT_EXPORT DataFetcherSharedMemoryBase {
|
| // relevant sensors could be successfully deactivated.
|
| bool StopFetchingDeviceData(ConsumerType consumer_type);
|
|
|
| + // Should be called before destruction to make sure all active
|
| + // sensors are unregistered.
|
| + void StopFetchingAllDeviceData();
|
| +
|
| // Returns the shared memory handle of the device sensor data
|
| // duplicated into the given process. This method should only be
|
| // called after a call to StartFetchingDeviceData method with
|
|
|