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_SENSOR_MANAGER_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ |
6 #define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ | 6 #define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ |
7 | 7 |
8 #include "base/android/scoped_java_ref.h" | 8 #include "base/android/scoped_java_ref.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
11 #include "content/browser/device_sensors/device_sensors_consts.h" | 12 #include "content/browser/device_sensors/device_sensors_consts.h" |
12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
13 #include "content/common/device_sensors/device_light_hardware_buffer.h" | 14 #include "content/common/device_sensors/device_light_hardware_buffer.h" |
14 #include "content/common/device_sensors/device_motion_hardware_buffer.h" | 15 #include "content/common/device_sensors/device_motion_hardware_buffer.h" |
15 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" | 16 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 template <typename T> | 19 template <typename T> |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 base::Lock orientation_absolute_buffer_lock_; | 160 base::Lock orientation_absolute_buffer_lock_; |
160 | 161 |
161 bool is_shutdown_; | 162 bool is_shutdown_; |
162 | 163 |
163 DISALLOW_COPY_AND_ASSIGN(SensorManagerAndroid); | 164 DISALLOW_COPY_AND_ASSIGN(SensorManagerAndroid); |
164 }; | 165 }; |
165 | 166 |
166 } // namespace content | 167 } // namespace content |
167 | 168 |
168 #endif // CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ | 169 #endif // CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ |
OLD | NEW |