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

Unified Diff: content/browser/device_sensors/device_inertial_sensor_service.cc

Issue 2037513002: Convert device_sensors to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--mime-registry
Patch Set: Created 4 years, 5 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: content/browser/device_sensors/device_inertial_sensor_service.cc
diff --git a/content/browser/device_sensors/device_inertial_sensor_service.cc b/content/browser/device_sensors/device_inertial_sensor_service.cc
index 33f083d11fd46b8c5ca11b7da4777a19a7385e88..2ae3881db48fecb52d45c55c8fdff7c93c21c8ac 100644
--- a/content/browser/device_sensors/device_inertial_sensor_service.cc
+++ b/content/browser/device_sensors/device_inertial_sensor_service.cc
@@ -93,11 +93,10 @@ int DeviceInertialSensorService::GetNumberConsumers(
return 0;
}
-base::SharedMemoryHandle
-DeviceInertialSensorService::GetSharedMemoryHandleForProcess(
- ConsumerType consumer_type, base::ProcessHandle handle) {
+mojo::ScopedSharedBufferHandle
+DeviceInertialSensorService::GetSharedMemoryHandle(ConsumerType consumer_type) {
DCHECK(thread_checker_.CalledOnValidThread());
- return data_fetcher_->GetSharedMemoryHandleForProcess(consumer_type, handle);
+ return data_fetcher_->GetSharedMemoryHandle(consumer_type);
}
void DeviceInertialSensorService::Shutdown() {

Powered by Google App Engine
This is Rietveld 408576698