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

Side by Side Diff: device/generic_sensor/platform_sensor_reader_linux.h

Issue 2587883002: Fix ODR violations caused by mojoms being included in multiple components. (Closed)
Patch Set: Created 4 years 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_READER_LINUX_H_ 5 #ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_
6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ 6 #define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "device/generic_sensor/generic_sensor_export.h"
10 9
11 namespace base { 10 namespace base {
12 class SingleThreadTaskRunner; 11 class SingleThreadTaskRunner;
13 } 12 }
14 13
15 namespace device { 14 namespace device {
16 15
17 class PlatformSensorLinux; 16 class PlatformSensorLinux;
18 class PlatformSensorConfiguration; 17 class PlatformSensorConfiguration;
19 struct SensorInfoLinux; 18 struct SensorInfoLinux;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 56
58 // Indicates if reading is active. 57 // Indicates if reading is active.
59 bool is_reading_active_; 58 bool is_reading_active_;
60 59
61 DISALLOW_COPY_AND_ASSIGN(SensorReader); 60 DISALLOW_COPY_AND_ASSIGN(SensorReader);
62 }; 61 };
63 62
64 } // namespace device 63 } // namespace device
65 64
66 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_ 65 #endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_READER_LINUX_H_
OLDNEW
« no previous file with comments | « device/generic_sensor/platform_sensor_provider_linux.h ('k') | device/generic_sensor/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698