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

Side by Side Diff: content/browser/device_sensors/data_fetcher_shared_memory.h

Issue 2389963003: Move device_sensors cross-process headers out of //content (Closed)
Patch Set: Rebase Created 4 years, 2 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 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" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" 10 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
11 11
12 #if !defined(OS_ANDROID) 12 #if !defined(OS_ANDROID)
13 #include "content/common/device_sensors/device_light_hardware_buffer.h" 13 #include "device/sensors/public/cpp/device_light_hardware_buffer.h"
14 #include "content/common/device_sensors/device_motion_hardware_buffer.h" 14 #include "device/sensors/public/cpp/device_motion_hardware_buffer.h"
15 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" 15 #include "device/sensors/public/cpp/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 content { 25 namespace content {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 content 88 } // namespace content
89 89
90 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 90 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/device_sensors/data_fetcher_shared_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698