Index: content/browser/device_sensors/device_inertial_sensor_service.h |
diff --git a/content/browser/device_sensors/device_inertial_sensor_service.h b/content/browser/device_sensors/device_inertial_sensor_service.h |
index bd3cf0c1392b4dea8d72cccd89a749ca336d1ecb..fb2d9e4f61e5f22eaca4bf5ec77df37b0e936e0e 100644 |
--- a/content/browser/device_sensors/device_inertial_sensor_service.h |
+++ b/content/browser/device_sensors/device_inertial_sensor_service.h |
@@ -14,6 +14,7 @@ |
#include "base/threading/thread_checker.h" |
#include "content/browser/device_sensors/device_sensors_consts.h" |
#include "content/common/content_export.h" |
+#include "mojo/public/cpp/system/buffer.h" |
namespace content { |
@@ -36,10 +37,9 @@ class CONTENT_EXPORT DeviceInertialSensorService { |
// Must be called on the I/O thread. |
void RemoveConsumer(ConsumerType cosumer_type); |
- // Returns the shared memory handle of the device motion data duplicated |
- // into the given process. |
- base::SharedMemoryHandle GetSharedMemoryHandleForProcess( |
- ConsumerType consumer_type, base::ProcessHandle handle); |
+ // Returns the shared memory handle of the device motion data. |
+ mojo::ScopedSharedBufferHandle GetSharedMemoryHandle( |
+ ConsumerType consumer_type); |
// Stop/join with the background polling thread in |provider_|. |
void Shutdown(); |