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

Side by Side Diff: services/device/sensors/data_fetcher_shared_memory.h

Issue 2819273006: Move //device/sensor impl to be part of the internal implemenation of the Device Service. (Closed)
Patch Set: Move //device/sensor impl to be part of the internal implemenation of the Device Service Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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 DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 5 #ifndef SERVICES_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
6 #define DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 6 #define SERVICES_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "device/sensors/data_fetcher_shared_memory_base.h" 10 #include "services/device/sensors/data_fetcher_shared_memory_base.h"
11 11
12 #if !defined(OS_ANDROID) 12 #if !defined(OS_ANDROID)
13 #include "device/sensors/public/cpp/device_light_hardware_buffer.h" 13 #include "services/device/public/cpp/sensors/device_light_hardware_buffer.h"
14 #include "device/sensors/public/cpp/device_motion_hardware_buffer.h" 14 #include "services/device/public/cpp/sensors/device_motion_hardware_buffer.h"
15 #include "device/sensors/public/cpp/device_orientation_hardware_buffer.h" 15 #include "services/device/public/cpp/sensors/device_orientation_hardware_buffer. h"
16 #endif 16 #endif
17 17
18 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
19 class SuddenMotionSensor; 19 class SuddenMotionSensor;
20 #elif defined(OS_WIN) 20 #elif defined(OS_WIN)
21 #include <SensorsApi.h> 21 #include <SensorsApi.h>
22 #include "base/win/scoped_comptr.h" 22 #include "base/win/scoped_comptr.h"
23 #endif 23 #endif
24 24
25 namespace device { 25 namespace device {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 base::win::ScopedComPtr<ISensor> sensor_accelerometer_; 80 base::win::ScopedComPtr<ISensor> sensor_accelerometer_;
81 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; 81 base::win::ScopedComPtr<ISensor> sensor_gyrometer_;
82 base::win::ScopedComPtr<ISensor> sensor_light_; 82 base::win::ScopedComPtr<ISensor> sensor_light_;
83 #endif 83 #endif
84 84
85 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); 85 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory);
86 }; 86 };
87 87
88 } // namespace device 88 } // namespace device
89 89
90 #endif // DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 90 #endif // SERVICES_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698