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

Unified Diff: content/browser/device_sensors/data_fetcher_shared_memory.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
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_sensors/data_fetcher_shared_memory.h
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory.h b/content/browser/device_sensors/data_fetcher_shared_memory.h
index a0d9828c2a5b81858b4f3aa20481d6dc001ac2be..beb8254efb68031c0ac626f93c97437f72ec021d 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory.h
@@ -35,6 +35,10 @@ class CONTENT_EXPORT DataFetcherSharedMemory
DataFetcherSharedMemory();
~DataFetcherSharedMemory() override;
+#if defined(OS_ANDROID)
+ void Shutdown() override;
+#endif
+
private:
bool Start(ConsumerType consumer_type, void* buffer) override;
bool Stop(ConsumerType consumer_type) override;
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698