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

Side by Side Diff: services/device/generic_sensor/platform_sensor_linux.h

Issue 2865263002: Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: code rebase Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_ 5 #ifndef SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_
6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_ 6 #define SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_
7 7
8 #include "device/generic_sensor/platform_sensor.h" 8 #include "services/device/generic_sensor/platform_sensor.h"
9 9
10 namespace base { 10 namespace base {
11 class SingleThreadTaskRunner; 11 class SingleThreadTaskRunner;
12 } 12 }
13 13
14 namespace device { 14 namespace device {
15 15
16 class SensorReader; 16 class SensorReader;
17 struct SensorInfoLinux; 17 struct SensorInfoLinux;
18 18
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // and IPC can be notified that updates are available. 56 // and IPC can be notified that updates are available.
57 SensorReading old_values_; 57 SensorReading old_values_;
58 58
59 base::WeakPtrFactory<PlatformSensorLinux> weak_factory_; 59 base::WeakPtrFactory<PlatformSensorLinux> weak_factory_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(PlatformSensorLinux); 61 DISALLOW_COPY_AND_ASSIGN(PlatformSensorLinux);
62 }; 62 };
63 63
64 } // namespace device 64 } // namespace device
65 65
66 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_ 66 #endif // SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_LINUX_H_
OLDNEW
« no previous file with comments | « services/device/generic_sensor/platform_sensor_android.cc ('k') | services/device/generic_sensor/platform_sensor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698