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

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

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.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 f8326aac03791e2272280f3d97db6e450aa4539f..cb267590965492c3ae92da2278fc55de6e90b11b 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
@@ -35,7 +35,7 @@ class CONTENT_EXPORT DataFetcherSharedMemoryBase {
// Should be called before destruction to make sure all active
// sensors are unregistered.
- virtual void Shutdown();
+ virtual void ShutDownOnUIThread();
// Returns the shared memory handle of the device sensor data. This method
// should only be called after a call to StartFetchingDeviceData method with

Powered by Google App Engine
This is Rietveld 408576698