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

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

Issue 2126443002: Rename DeviceInertialSensorService to DeviceSensorService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--sensors
Patch Set: rebase 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/data_fetcher_shared_memory_base.cc
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
index 6a746fafe0987581ebc68baabd212986208c3b08..b7694458518ad2b407de016298153c517c96bae8 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
@@ -191,12 +191,11 @@ bool DataFetcherSharedMemoryBase::InitAndStartPollingThreadIfNecessary() {
if (polling_thread_)
return true;
- polling_thread_.reset(
- new PollingThread("Inertial Device Sensor poller", this));
+ polling_thread_.reset(new PollingThread("Device Sensor poller", this));
if (!polling_thread_->Start()) {
- LOG(ERROR) << "Failed to start inertial sensor data polling thread";
- return false;
+ LOG(ERROR) << "Failed to start sensor data polling thread";
+ return false;
}
return true;
}
@@ -211,7 +210,7 @@ DataFetcherSharedMemoryBase::GetType() const {
}
base::TimeDelta DataFetcherSharedMemoryBase::GetInterval() const {
- return base::TimeDelta::FromMicroseconds(kInertialSensorIntervalMicroseconds);
+ return base::TimeDelta::FromMicroseconds(kDeviceSensorIntervalMicroseconds);
}
void* DataFetcherSharedMemoryBase::GetSharedMemoryBuffer(
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698