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

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

Issue 917253002: [Android] Move the android Device Sensors API to the UI thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simplify shutdown Created 5 years, 10 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 fc1f031d49919785168247a0275b2b45113b7254..c13c37800aae5e821992301f6e99e50f6d14bd8a 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
@@ -33,7 +33,7 @@ class CONTENT_EXPORT DataFetcherSharedMemoryBase {
// Should be called before destruction to make sure all active
// sensors are unregistered.
- void StopFetchingAllDeviceData();
+ virtual void Shutdown();
// Returns the shared memory handle of the device sensor data
// duplicated into the given process. This method should only be

Powered by Google App Engine
This is Rietveld 408576698