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

Unified Diff: content/browser/device_orientation/provider.cc

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: rebased 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
« no previous file with comments | « content/browser/device_orientation/device_motion_provider.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_orientation/provider.cc
diff --git a/content/browser/device_orientation/provider.cc b/content/browser/device_orientation/provider.cc
index b7aa52f8a684a9a1464dafb1f7ff34927936ab77..49fc4f2164f2602af362e500ab46b91db498e0e9 100644
--- a/content/browser/device_orientation/provider.cc
+++ b/content/browser/device_orientation/provider.cc
@@ -12,7 +12,7 @@
#if defined(OS_MACOSX)
#include "content/browser/device_orientation/accelerometer_mac.h"
#elif defined(OS_ANDROID)
-#include "content/browser/device_orientation/data_fetcher_impl_android.h"
+#include "content/browser/device_orientation/data_fetcher_orientation_android.h"
#elif defined(OS_WIN)
#include "content/browser/device_orientation/data_fetcher_impl_win.h"
#endif
@@ -27,7 +27,7 @@ Provider* Provider::GetInstance() {
#if defined(OS_MACOSX)
default_factory = AccelerometerMac::Create;
#elif defined(OS_ANDROID)
- default_factory = DataFetcherImplAndroid::Create;
+ default_factory = DataFetcherOrientationAndroid::Create;
#elif defined(OS_WIN)
default_factory = DataFetcherImplWin::Create;
#endif
« no previous file with comments | « content/browser/device_orientation/device_motion_provider.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698