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 <GuidDef.h> | 7 #include <GuidDef.h> |
8 #include <InitGuid.h> | 8 #include <InitGuid.h> |
9 #include <PortableDeviceTypes.h> | 9 #include <PortableDeviceTypes.h> |
10 #include <Sensors.h> | 10 #include <Sensors.h> |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
14 #include "base/win/iunknown_impl.h" | 14 #include "base/win/iunknown_impl.h" |
15 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 motion_buffer_->data.allAvailableSensorsAreActive = enabled; | 389 motion_buffer_->data.allAvailableSensorsAreActive = enabled; |
390 motion_buffer_->seqlock.WriteEnd(); | 390 motion_buffer_->seqlock.WriteEnd(); |
391 } | 391 } |
392 break; | 392 break; |
393 default: | 393 default: |
394 NOTREACHED(); | 394 NOTREACHED(); |
395 } | 395 } |
396 } | 396 } |
397 | 397 |
398 } // namespace content | 398 } // namespace content |
OLD | NEW |