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

Side by Side Diff: device/generic_sensor/platform_sensor_provider_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_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ 5 #ifndef DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_
6 #define DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ 6 #define DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_
7 7
8 #include "device/generic_sensor/platform_sensor_provider.h" 8 #include "device/generic_sensor/platform_sensor_provider.h"
9 9
10 #include "device/generic_sensor/generic_sensor_export.h"
10 #include "device/generic_sensor/linux/sensor_device_manager.h" 11 #include "device/generic_sensor/linux/sensor_device_manager.h"
11 12
12 namespace base { 13 namespace base {
13 template <typename T> 14 template <typename T>
14 struct DefaultSingletonTraits; 15 struct DefaultSingletonTraits;
15 class Thread; 16 class Thread;
16 } 17 }
17 18
18 namespace device { 19 namespace device {
19 20
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // provider to stop a polling thread and passed to a manager that 112 // provider to stop a polling thread and passed to a manager that
112 // runs a linux device monitor service on this task runner. 113 // runs a linux device monitor service on this task runner.
113 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; 114 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
114 115
115 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderLinux); 116 DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderLinux);
116 }; 117 };
117 118
118 } // namespace device 119 } // namespace device
119 120
120 #endif // DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_ 121 #endif // DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_
OLDNEW
« no previous file with comments | « device/generic_sensor/linux/sensor_device_manager.h ('k') | device/generic_sensor/platform_sensor_reader_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698