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

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

Issue 2410123002: Remove content::BrowserThread knowledge from Device Sensors (Closed)
Patch Set: Rebase, avoid object creation on startup Created 4 years, 2 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 34191f802de57b524b0435a93d407375c97e4459..4f923231c0ec9ee3e593f2baf0aa45034124782b 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
@@ -173,7 +173,7 @@ bool DataFetcherSharedMemoryBase::StopFetchingDeviceData(
return true;
}
-void DataFetcherSharedMemoryBase::Shutdown() {
+void DataFetcherSharedMemoryBase::ShutDownOnUIThread() {
StopFetchingDeviceData(CONSUMER_TYPE_MOTION);
StopFetchingDeviceData(CONSUMER_TYPE_ORIENTATION);
StopFetchingDeviceData(CONSUMER_TYPE_ORIENTATION_ABSOLUTE);
« no previous file with comments | « content/browser/device_sensors/data_fetcher_shared_memory_base.h ('k') | content/browser/device_sensors/device_sensor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698