OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ | 6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" | 10 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" |
9 | 11 |
10 #if !defined(OS_ANDROID) | 12 #if !defined(OS_ANDROID) |
11 #include "content/common/device_sensors/device_light_hardware_buffer.h" | 13 #include "content/common/device_sensors/device_light_hardware_buffer.h" |
12 #include "content/common/device_sensors/device_motion_hardware_buffer.h" | 14 #include "content/common/device_sensors/device_motion_hardware_buffer.h" |
13 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" | 15 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" |
14 #endif | 16 #endif |
15 | 17 |
16 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
17 class SuddenMotionSensor; | 19 class SuddenMotionSensor; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; | 78 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; |
77 base::win::ScopedComPtr<ISensor> sensor_light_; | 79 base::win::ScopedComPtr<ISensor> sensor_light_; |
78 #endif | 80 #endif |
79 | 81 |
80 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); | 82 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); |
81 }; | 83 }; |
82 | 84 |
83 } // namespace content | 85 } // namespace content |
84 | 86 |
85 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ | 87 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
OLD | NEW |