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

Unified Diff: content/browser/device_orientation/accelerometer_mac.h

Issue 18572014: Implement Android shared memory data fetcher for Device Motion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-sync-12June-tryASYNC-2-bis-tryRebase-6
Patch Set: fixed comments, added proper singleton implementation and shutdown. Created 7 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_orientation/accelerometer_mac.h
diff --git a/content/browser/device_orientation/accelerometer_mac.h b/content/browser/device_orientation/accelerometer_mac.h
index 654ae83e843e260bf08d3bf8393e9432f69e48e2..1033e60872a1e6b0a2a4a335ce768c6fc3030180 100644
--- a/content/browser/device_orientation/accelerometer_mac.h
+++ b/content/browser/device_orientation/accelerometer_mac.h
@@ -29,6 +29,7 @@ class AccelerometerMac : public DataFetcher {
private:
AccelerometerMac();
+ static AccelerometerMac* instance();
bool Init();
const Orientation* GetOrientation();

Powered by Google App Engine
This is Rietveld 408576698