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

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

Issue 899973002: Revert of Device Orientation API on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/browser/BUILD.gn ('k') | content/browser/device_sensors/data_fetcher_shared_memory_chromeos.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..a5d1f824ce9cf6534609ec63e29d9dfb1ecc4ccb 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory.h
@@ -22,9 +22,7 @@
namespace content {
-#if defined(OS_CHROMEOS)
-class SensorManagerChromeOS;
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
class AmbientLightSensor;
#endif
@@ -44,10 +42,7 @@
DeviceOrientationHardwareBuffer* orientation_buffer_;
DeviceLightHardwareBuffer* light_buffer_;
#endif
-
-#if defined(OS_CHROMEOS)
- scoped_ptr<SensorManagerChromeOS> sensor_manager_;
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
void Fetch(unsigned consumer_bitmask) override;
FetcherType GetType() const override;
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698