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 #include "data_fetcher_shared_memory.h" | 5 #include "content/browser/device_sensors/data_fetcher_shared_memory.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "content/browser/device_sensors/ambient_light_mac.h" | 9 #include "content/browser/device_sensors/ambient_light_mac.h" |
10 #include "third_party/sudden_motion_sensor/sudden_motion_sensor_mac.h" | 10 #include "third_party/sudden_motion_sensor/sudden_motion_sensor_mac.h" |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 const double kMeanGravity = 9.80665; | 14 const double kMeanGravity = 9.80665; |
15 | 15 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 light_buffer_ = nullptr; | 250 light_buffer_ = nullptr; |
251 } | 251 } |
252 return true; | 252 return true; |
253 default: | 253 default: |
254 NOTREACHED(); | 254 NOTREACHED(); |
255 } | 255 } |
256 return false; | 256 return false; |
257 } | 257 } |
258 | 258 |
259 } // namespace content | 259 } // namespace content |
OLD | NEW |